| Name | DebtSecuritiesAvailableForSaleRealizedGainLossExcludingOtherThanTemporaryImpairment |
|---|---|
| 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, Available-for-sale, 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, Available-for-sale, 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), excluding 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 |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesAvailableForSaleRealizedGain | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesCalcAlt1 | |
us-gaap:DebtSecuritiesAvailableForSaleRealizedLossExcludingOtherThanTemporaryImpairment | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesCalcAlt1 |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:AvailableforsaleSecuritiesGrossRealizedGainLossExcludingOtherThanTemporaryImpairmentsAbstract | 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:AvailableforsaleSecuritiesGrossRealizedGainLossExcludingOtherThanTemporaryImpairmentsAbstract | domain-member | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesDebtSecuritiesAvailableForSaleTable | |
us-gaap:DebtSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairmentAbstract | domain-member | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesScheduleOfGainLossOnInvestmentsTable | |
us-gaap:DebtSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairment | summation-item | http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosures |