| Name | DebtAndEquitySecuritiesUnrealizedGainLossExcludingOtherThanTemporaryImpairment |
|---|---|
| Namespace | http://fasb.org/us-gaap/2022 |
| Prefix | us-gaap |
| Data type | xbrli:monetaryItemType |
| Period type | duration |
| Substitution Group | xbrli:item |
| Balance | credit |
| Nillable | True |
| Abstract | False |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Debt and Equity Securities, Unrealized Gain (Loss), Excluding Other-than-temporary Impairment | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Amount of unrealized gain (loss) recognized in earnings from investment in debt and equity securities measured at fair value with change in fair value recognized in net income, and recognized from transfer of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and investment in debt security measured at amortized cost (held-to-maturity) to investment in debt security measured at fair value with change in fair value recognized in net income (trading). Excludes other-than-temporary impairment (OTTI). | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| elementCreationTaxonomyVersion | 2018 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Positive_XBRL_Value | Gain | http://fasb.org/us-gaap/role/tin/value |
| Negative_XBRL_Value | Loss | http://fasb.org/us-gaap/role/tin/value |
| Note | Element is intended to be used for each reported period for which amendment from Accounting Standards Update identified in tin-part:Source_ASU_Number is not applied. | http://fasb.org/us-gaap/role/tin/transition |
| Source | ASU | http://fasb.org/us-gaap/role/tin/transition |
| SourceName | Financial Instruments-Credit Losses | http://fasb.org/us-gaap/role/tin/transition |
| Source_ASU_Number | 2016-13 | http://fasb.org/us-gaap/role/tin/transition |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:Asu201613TransitionAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/CreditLosses |