| Name | DebtSecuritiesUnrealizedGainLoss |
|---|---|
| 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, Unrealized Gain (Loss) | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Securities, Unrealized Gain (Loss), Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesTradingUnrealizedGainLoss | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfCashFlowsIndirect | |
us-gaap:DebtSecuritiesAvailableForSaleUnrealizedGainLoss | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfCashFlowsIndirect |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtAndEquitySecuritiesUnrealizedGainLoss | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfCashFlowsIndirect | |
us-gaap:DebtSecuritiesGainLoss | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesCalcAlt1 | |
us-gaap:DebtSecuritiesGainLossAlternativeAbstract | 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:DebtSecuritiesUnrealizedGainLossAbstract | domain-member | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesScheduleOfGainLossOnInvestmentsTable |