Credit Concentrations - Credit Concentration, Resale Agreements and Securities Borrowed (Detail) - USD ($) $ in Millions |
12 Months Ended | |
|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| U.S. Government and Agency Obligations that Collateralize Securities Purchased Under Agreements to Resell and Securities Borrowed [Member] | ||
| Concentration Risk [Line Items] | ||
| Concentration risk, Credit risk, Financial instrument, Maximum exposure | $ 86,274 | $ 60,158 |
| Non-U.S. Government and Agency Obligations that Collateralize Securities Purchased Under Agreements to Resell and Securities Borrowed [Member] | ||
| Concentration Risk [Line Items] | ||
| Concentration risk, Credit risk, Financial instrument, Maximum exposure | $ 141,588 | $ 68,001 |