| Name | OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTax |
|---|---|
| Namespace | http://fasb.org/us-gaap/2021-01-31 |
| 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 |
|---|---|---|---|
| OCI, Debt Securities, Available-for-Sale, Gain (Loss), before Adjustment, after Tax | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| OCI, Debt Securities, Available-for-Sale, Gain (Loss), before Adjustment, after Tax, Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Amount, after tax and before adjustment, of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale. | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| PublishDate | 2018-01 | http://fasb.org/us-gaap/role/tin/value |
| 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 | 2012 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| SourceName | Taxonomy Technical Improvement | http://fasb.org/srt/role/changeNote/changeNote |
| TaxonomyVersion | 2020 | http://fasb.org/srt/role/changeNote/changeNote |
| ChangeDate | 2019-04 | 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 after tax, before reclassification adjustments, of unrealized holding gain (loss) on available-for-sale securities and unrealized holding gain (loss) related to transfers of securities into the available-for-sale classification and out of the held-to-maturity classification. | 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 | 220 | http://www.xbrl.org/2003/role/disclosureRef |
| SubTopic | 10 | http://www.xbrl.org/2003/role/disclosureRef |
| Section | 45 | http://www.xbrl.org/2003/role/disclosureRef |
| Paragraph | 10A | http://www.xbrl.org/2003/role/disclosureRef |
| Subparagraph | (e) | http://www.xbrl.org/2003/role/disclosureRef |
| URI | http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580 | http://www.xbrl.org/2003/role/disclosureRef |
| Publisher | FASB | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2003/role/disclosureRef |
| Topic | 220 | http://www.xbrl.org/2003/role/disclosureRef |
| SubTopic | 10 | http://www.xbrl.org/2003/role/disclosureRef |
| Section | 45 | http://www.xbrl.org/2003/role/disclosureRef |
| Paragraph | 10A | http://www.xbrl.org/2003/role/disclosureRef |
| Subparagraph | (f) | http://www.xbrl.org/2003/role/disclosureRef |
| URI | http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580 | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfOtherComprehensiveIncomeFouthAlternative | |
us-gaap:OtherComprehensiveIncomeLossTransfersFromHeldToMaturityToAvailableForSaleSecuritiesNetOfTax | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfOtherComprehensiveIncomeFouthAlternative |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract | parent-child | http://fasb.org/us-gaap/role/statement/StatementOfOtherComprehensiveIncome | |
us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfOtherComprehensiveIncomeFouthAlternative | |
us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract | domain-member | http://fasb.org/us-gaap/role/statement/StatementOfOtherComprehensiveIncomeStatementTable | |
us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/Equity |