| Name | DebtSecurities |
|---|---|
| Namespace | http://fasb.org/us-gaap/2021-01-31 |
| Prefix | us-gaap |
| Data type | xbrli:monetaryItemType |
| Period type | instant |
| Substitution Group | xbrli:item |
| Balance | debit |
| Nillable | True |
| Abstract | False |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Debt Securities | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Securities, Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Amount, after allowance for credit loss, of 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). | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| elementCreationTaxonomyVersion | 2018 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| SourceName | Taxonomy Technical Improvement | http://fasb.org/srt/role/changeNote/changeNote |
| TaxonomyVersion | 2021 | http://fasb.org/srt/role/changeNote/changeNote |
| ChangeDate | 2020-04 | http://fasb.org/srt/role/changeNote/changeNote |
| ModifiedDocumentation | true | http://fasb.org/srt/role/changeNote/changeNote |
| PreviousDocumentation | Amount of investment in debt security measured at amortized cost (held-to-maturity), investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and investment in debt security measured at fair value with change in fair value recognized in net income (trading). | http://fasb.org/srt/role/changeNote/changeNote |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:TradingSecuritiesDebt | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionUnclassified-DepositBasedOperationsFirstAlternate | |
us-gaap:AvailableForSaleSecuritiesDebtSecurities | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionUnclassified-DepositBasedOperationsFirstAlternate | |
us-gaap:DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss | summation-item | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionUnclassified-DepositBasedOperationsFirstAlternate |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtSecuritiesAbstract | parent-child | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionUnclassified-RealEstateOperations | |
us-gaap:DebtSecuritiesAbstract | domain-member | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionUnclassified-RealEstateOperationsStatementTable | |
us-gaap:DebtSecuritiesAbstract | parent-child | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionUnclassified-DepositBasedOperations | |
us-gaap:DebtSecuritiesAbstract | domain-member | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionUnclassified-DepositBasedOperationsStatementTable | |
us-gaap:DebtSecuritiesAbstract | parent-child | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionUnclassified-InvestmentBasedOperations | |
us-gaap:DebtSecuritiesAbstract | domain-member | http://fasb.org/us-gaap/role/statement/StatementOfFinancialPositionUnclassified-InvestmentBasedOperationsStatementTable |