Collateralized Agreements and Financings - Financial Instruments Received as Collateral and Repledged (Detail) - USD ($) $ in Millions |
Sep. 30, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Collateralized Agreements And Financings [Abstract] | ||
| Financial instruments at fair value received as collateral by the firm that it was permitted to deliver or repledge | $ 1,045,005 | $ 864,494 |
| Financial instruments at fair value received as collateral which the firm delivered or repledged | $ 875,554 | $ 723,409 |