Collateralized Agreements and Financings - Financial Instruments Received as Collateral and Repledged (Parenthetical) (Detail) - USD ($) $ in Millions |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Collateralized Agreements And Financings [Abstract] | ||
| Securities segregated for regulatory and other purposes | $ 41,490 | $ 32,970 |