| Name | DebtSecuritiesAvailableForSaleUnrealizedGainLoss |
|---|---|
| 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, Unrealized Gain (Loss) | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Securities, Available-for-sale, Unrealized Gain (Loss), Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Amount 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). | 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:AvailableForSaleDebtSecuritiesGrossUnrealizedGain | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
us-gaap:AvailableForSaleDebtSecuritiesGrossUnrealizedLoss | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesUnrealizedGainLoss | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfCashFlowsIndirect | |
us-gaap:AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
us-gaap:DebtSecuritiesUnrealizedGainLossAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
us-gaap:DebtSecuritiesAvailableForSaleGainLoss | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
us-gaap:AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract | domain-member | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesDebtSecuritiesAvailableForSaleTable | |
us-gaap:DebtSecuritiesUnrealizedGainLossAbstract | domain-member | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesScheduleOfGainLossOnInvestmentsTable |