| Name | DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax |
|---|---|
| Namespace | http://fasb.org/us-gaap/2021-01-31 |
| Prefix | us-gaap |
| Data type | xbrli:monetaryItemType |
| Period type | instant |
| Substitution Group | xbrli:item |
| Balance | credit |
| Nillable | True |
| Abstract | False |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain (Loss), before Tax | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain (Loss), before Tax, Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Amount, before tax, of unrealized gain (loss) in accumulated other comprehensive income (AOCI) 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/value |
| Positive_XBRL_Value | Accumulated Gain | http://fasb.org/us-gaap/role/tin/value |
| Negative_XBRL_Value | Accumulated Loss | http://fasb.org/us-gaap/role/tin/value |
| elementCreationTaxonomyVersion | 2018 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax | summation-item | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities |
| Name | Relation Type | Role | |
|---|---|---|---|
Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain (Loss), before Tax [Abstract] us-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainLossBeforeTaxAbstract | parent-child | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecurities | |
Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain (Loss), before Tax [Abstract] us-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainLossBeforeTaxAbstract | domain-member | http://fasb.org/us-gaap/role/disclosure/InvestmentsDebtAndEquitySecuritiesDebtSecuritiesAvailableForSaleTable |