Income Taxes - Schedule of Unrecognized Tax Benefits (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
|
| Reconciliation of Unrecognized Tax Benefits | |||
| Gross unrecognized tax benefits ‑ beginning of period | $ 8,692 | $ 7,863 | $ 4,678 |
| Increases related to prior year tax positions | 328 | 356 | 2,309 |
| Decreases related to prior year tax positions | (86) | (253) | (525) |
| Increases related to current year tax positions | 963 | 1,045 | 1,402 |
| Decreases related to settlements of prior year tax positions | (90) | (319) | (1) |
| Gross unrecognized tax benefits ‑ end of period | $ 9,807 | $ 8,692 | $ 7,863 |