Collateralized Agreements and Financings - Offsetting Arrangements (Parenthetical) (Detail) - USD ($) $ in Millions |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Collateralized Agreements And Financings [Abstract] | ||
| Securities borrowed at fair value | $ 39,955 | $ 28,898 |
| Securities loaned at fair value | $ 9,170 | $ 1,053 |