Commitments, Contingencies and Guarantees - Lending Commitments (Detail) - USD ($) $ in Millions |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Commitments and Contingencies Disclosure [Abstract] | ||
| Held for investment | $ 197,120 | $ 162,513 |
| Held for sale | 13,175 | 6,594 |
| At fair value | 1,257 | 2,468 |
| Total | $ 211,552 | $ 171,575 |