| Name | DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedLoss |
|---|---|
| Namespace | http://fasb.org/us-gaap/2021-01-31 |
| Prefix | us-gaap |
| Data type | xbrli:monetaryItemType |
| Period type | instant |
| Substitution Group | xbrli:item |
| Balance | debit |
| Nillable | True |
| Abstract | False |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Debt Securities, Available-for-Sale and Held-to-Maturity, Cumulative Unrecognized Loss | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Securities, Available-for-Sale and Held-to-Maturity, Cumulative Unrecognized Loss, Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Amount of cumulative unrecognized loss on investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| elementCreationTaxonomyVersion | 2021 | 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 |
| ChangeDate | 2020-04 | http://fasb.org/srt/role/changeNote/changeNote |
| NewElement | true | http://fasb.org/srt/role/changeNote/changeNote |
| Publisher | FASB | http://www.xbrl.org/2009/role/commonPracticeRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2009/role/commonPracticeRef |
| Topic | 320 | http://www.xbrl.org/2009/role/commonPracticeRef |
| SubTopic | 10 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Section | 50 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Paragraph | 2 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Subparagraph | (c) | http://www.xbrl.org/2009/role/commonPracticeRef |
| URI | http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Publisher | FASB | http://www.xbrl.org/2009/role/commonPracticeRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2009/role/commonPracticeRef |
| Topic | 320 | http://www.xbrl.org/2009/role/commonPracticeRef |
| SubTopic | 10 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Section | 50 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Paragraph | 5A | http://www.xbrl.org/2009/role/commonPracticeRef |
| Subparagraph | (c) | http://www.xbrl.org/2009/role/commonPracticeRef |
| URI | http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563 | http://www.xbrl.org/2009/role/commonPracticeRef |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax | summation-item | http://fasb.org/us-gaap/role/disclosure/CreditLossesCalc2 | |
us-gaap:HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss | summation-item | http://fasb.org/us-gaap/role/disclosure/CreditLossesCalc2 |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostBeforeAllowanceForCreditLoss | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesCalcAlt1 | |
us-gaap:DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValueToAmortizedCostAfterAllowanceForCreditLossAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities |