| Name | DebtSecuritiesHeldToMaturityTransferAmount |
|---|---|
| Namespace | http://fasb.org/us-gaap/2022 |
| Prefix | us-gaap |
| Data type | xbrli:monetaryItemType |
| Period type | duration |
| Substitution Group | xbrli:item |
| Balance | debit |
| Nillable | True |
| Abstract | False |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Transfer, Amount | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) transferred to investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and net income (trading). | 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 |
| SourceName | Taxonomy Technical Improvement | http://fasb.org/srt/role/changeNote/changeNote |
| TaxonomyVersion | 2021 | http://fasb.org/srt/role/changeNote/changeNote |
| ModifiedLabels | true | http://fasb.org/srt/role/changeNote/changeNote |
| ModifiedDocumentation | true | http://fasb.org/srt/role/changeNote/changeNote |
| PreviousDocumentation | Amount of investment in debt security, measured at amortized cost, transferred to investment in debt security, measured at fair value, with change in fair value recognized in other comprehensive income (available-for-sale) and net income (trading). | http://fasb.org/srt/role/changeNote/changeNote |
| Publisher | FASB | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2003/role/disclosureRef |
| Topic | 320 | http://www.xbrl.org/2003/role/disclosureRef |
| SubTopic | 10 | http://www.xbrl.org/2003/role/disclosureRef |
| Section | 50 | http://www.xbrl.org/2003/role/disclosureRef |
| Paragraph | 10 | http://www.xbrl.org/2003/role/disclosureRef |
| Subparagraph | (a) | http://www.xbrl.org/2003/role/disclosureRef |
| URI | https://asc.fasb.org/extlink&oid=126970911&loc=d3e27405-111563 | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:HeldToMaturitySecuritiesTransfersAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
us-gaap:HeldToMaturitySecuritiesTransfersAbstract | domain-member | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesScheduleOfHeldToMaturitySecuritiesTable |