| Name | OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax |
|---|---|
| Namespace | http://fasb.org/us-gaap/2021-01-31 |
| 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 |
|---|---|---|---|
| OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, Tax | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Amount, before adjustment, of tax expense (benefit) for unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes tax expense (benefit) for 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 | Tax Expense | http://fasb.org/us-gaap/role/tin/value |
| Negative_XBRL_Value | Tax Benefit | http://fasb.org/us-gaap/role/tin/value |
| elementCreationTaxonomyVersion | 2008 | 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 of tax expense (benefit) before reclassification adjustments of unrealized holding gain (loss) on available-for-sale securities. | http://fasb.org/srt/role/changeNote/changeNote |
| Publisher | FASB | http://fasb.org/us-gaap/role/ref/legacyRef |
| Name | Accounting Standards Codification | http://fasb.org/us-gaap/role/ref/legacyRef |
| Topic | 220 | http://fasb.org/us-gaap/role/ref/legacyRef |
| SubTopic | 10 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Section | 45 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Paragraph | 12 | http://fasb.org/us-gaap/role/ref/legacyRef |
| URI | http://asc.fasb.org/extlink&oid=124509347&loc=d3e640-108580 | http://fasb.org/us-gaap/role/ref/legacyRef |
| 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:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesBeforeReclassificationAdjustmentsTax | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfOtherComprehensiveIncomeAlternative | |
us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesBeforeReclassificationAdjustmentsTaxAbstract | parent-child | http://fasb.org/us-gaap/role/statement/StatementOfOtherComprehensiveIncome | |
us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfOtherComprehensiveIncomeFouthAlternative | |
us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesBeforeReclassificationAdjustmentsTaxAbstract | domain-member | http://fasb.org/us-gaap/role/statement/StatementOfOtherComprehensiveIncomeStatementTable | |
us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesBeforeReclassificationAdjustmentsTaxAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/Equity |