| Name | DebtSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairment |
|---|---|
| Namespace | http://fasb.org/us-gaap/2020-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 |
|---|---|---|---|
| Debt Securities, Realized Gain (Loss), Excluding Other-than-temporary Impairment | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Securities, Realized Gain (Loss), Excluding Other-than-temporary Impairment, Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), 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 net income (trading). Excludes other-than-temporary impairment (OTTI). | 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/taxonomyImplementationNote |
| Positive_XBRL_Value | Enter a positive XBRL value for gain. | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Negative_XBRL_Value | Enter a negative XBRL value for loss. | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| SourceName | Financial Instruments-Recognition and Measurement | http://fasb.org/srt/role/changeNote/changeNote |
| TaxonomyVersion | 2018 | http://fasb.org/srt/role/changeNote/changeNote |
| ChangeDate | 2017-08 | http://fasb.org/srt/role/changeNote/changeNote |
| NewElement | true | http://fasb.org/srt/role/changeNote/changeNote |
| Source_ASU_Number | 2016-01 | http://fasb.org/srt/role/changeNote/changeNote |
| SourceName | Taxonomy Technical Improvement | http://fasb.org/srt/role/changeNote/changeNote |
| TaxonomyVersion | 2020 | http://fasb.org/srt/role/changeNote/changeNote |
| ChangeDate | 2019-10 | http://fasb.org/srt/role/changeNote/changeNote |
| ModifiedReferences | true | 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 | 944 | http://www.xbrl.org/2003/role/disclosureRef |
| SubTopic | 220 | http://www.xbrl.org/2003/role/disclosureRef |
| Section | S99 | http://www.xbrl.org/2003/role/disclosureRef |
| Paragraph | 1 | http://www.xbrl.org/2003/role/disclosureRef |
| Subparagraph | (SX 210.7-04(3)(d)) | http://www.xbrl.org/2003/role/disclosureRef |
| URI | http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesTradingRealizedGainLoss | summation-item | http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosures | |
us-gaap:HeldtomaturitySecuritiesSoldSecurityRealizedGainLossExcludingOtherThanTemporaryImpairments | summation-item | http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosures | |
Debt Securities, Available-for-sale, Realized Gain (Loss), Excluding Other-than-temporary Impairment us-gaap:DebtSecuritiesAvailableForSaleRealizedGainLossExcludingOtherThanTemporaryImpairment | summation-item | http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosures |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesGainLossExcludingOtti | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesCalcAlt1 | |
us-gaap:DebtSecuritiesGainLossExcludingOttiAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
us-gaap:DebtSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairmentAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
us-gaap:DebtAndEquitySecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairment | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
us-gaap:DebtSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairmentAbstract | domain-member | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesScheduleOfGainLossOnInvestmentsTable |