| Name | AvailableforsaleSecuritiesTransfersToTradingGainsLossesExcludingOtherThanTemporaryImpairments |
|---|---|
| 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 Securities, Available-for-Sale, Transfer to Trading, 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 transfer of investment in debt security measured at fair value with change in fair value recognized in other comprehensive (available-for-sale) 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) previously recognized in other comprehensive income (OCI). | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| 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 |
| Positive_XBRL_Value | Gain | http://fasb.org/us-gaap/role/tin/value |
| Negative_XBRL_Value | Loss | http://fasb.org/us-gaap/role/tin/value |
| elementCreationTaxonomyVersion | 2011 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Publisher | FASB | http://fasb.org/us-gaap/role/ref/legacyRef |
| Name | Accounting Standards Codification | http://fasb.org/us-gaap/role/ref/legacyRef |
| Topic | 320 | http://fasb.org/us-gaap/role/ref/legacyRef |
| SubTopic | 10 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Section | 50 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Paragraph | 9 | http://fasb.org/us-gaap/role/ref/legacyRef |
| URI | https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563 | http://fasb.org/us-gaap/role/ref/legacyRef |