| Name | TradingAssetsExcludingDebtAndEquitySecuritiesMember |
|---|---|
| Namespace | http://fasb.org/us-gaap/2022 |
| Prefix | us-gaap |
| Data type | dtr-types:domainItemType |
| Period type | duration |
| Substitution Group | xbrli:item |
| Balance | None |
| Nillable | True |
| Abstract | True |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Trading Assets, Excluding Debt and Equity Securities [Member] | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Investments which the entity trades for its own profit, which may include, but is not limited to, mortgage-backed and asset-backed securities, loans, interest rate swaps, credit derivatives, commodity contracts, foreign exchange contracts and equity swaps. Excludes debt and equity securities. | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| elementCreationTaxonomyVersion | 2008 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:InvestmentsMember | parent-child | http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosures | |
us-gaap:InvestmentsMember | domain-member | http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosuresFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable |