Employee Compensation and Benefit Plans - Schedule of Stock-based Compensation Expense and Related Income Tax Benefits (Details) - USD ($) $ / shares in Units, $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Stock-based compensation expense | $ 540 | $ 694 | $ 495 |
| Restricted Stock Units and Performance Stock Units | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Stock-based compensation expense | 540 | 694 | 495 |
| Income tax benefit related to stock-based compensation | $ 100 | $ 132 | $ 92 |
| Weighted average fair value per stock award granted (in USD per share) | $ 116.11 | $ 96.27 | $ 73.25 |
| Unrecognized compensation expense | $ 625 | $ 592 | $ 515 |
| Weighted-average period to be recognized (years) | 1 year 9 months 18 days | 1 year 10 months 24 days | 1 year 7 months 6 days |
| Fair value of stock awards vested | $ 944 | $ 1,315 | $ 512 |