| Name | DebtSecuritiesHeldToMaturityPurchasedWithCreditDeteriorationAmountAtPurchasePrice |
|---|---|
| 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 |
|---|---|---|---|
| Debt Securities, Held-to-maturity, Purchased with Credit Deterioration, Amount at Purchase Price | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Securities, Held-to-maturity, Purchased with Credit Deterioration, Amount at Purchase Price, Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Amount at purchase price of investment in debt security measured at amortized cost (held-to-maturity), purchased with credit deterioration. | 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 applied. | http://fasb.org/us-gaap/role/tin/transition |
| PublishDate | 2019-01 | 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 |
| elementCreationTaxonomyVersion | 2019 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| SourceName | Financial Instruments-Credit Losses | http://fasb.org/srt/role/changeNote/changeNote |
| TaxonomyVersion | 2019 | http://fasb.org/srt/role/changeNote/changeNote |
| ChangeDate | 2018-09 | http://fasb.org/srt/role/changeNote/changeNote |
| NewElement | true | http://fasb.org/srt/role/changeNote/changeNote |
| Source_ASU_Number | 2016-13 | 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 | 326 | http://www.xbrl.org/2003/role/disclosureRef |
| SubTopic | 20 | http://www.xbrl.org/2003/role/disclosureRef |
| Section | 50 | http://www.xbrl.org/2003/role/disclosureRef |
| Paragraph | 19 | http://www.xbrl.org/2003/role/disclosureRef |
| Subparagraph | (a) | http://www.xbrl.org/2003/role/disclosureRef |
| URI | http://asc.fasb.org/extlink&oid=124255953&loc=SL82919265-210447 | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesHeldToMaturityPurchasedWithCreditDeteriorationDiscountPremium | summation-item | http://fasb.org/us-gaap/role/disclosure/CreditLosses | |
us-gaap:DebtSecuritiesHeldToMaturityPurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate | summation-item | http://fasb.org/us-gaap/role/disclosure/CreditLosses | |
us-gaap:DebtSecuritiesHeldToMaturityPurchasedWithCreditDeteriorationAmountAtParValue | summation-item | http://fasb.org/us-gaap/role/disclosure/CreditLosses |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesHeldtomaturityPurchasedWithCreditDeteriorationAmountAtPurchasePriceAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/CreditLosses |