Income Taxes - Schedule of Reconciliation of Total Gross Unrecognized Tax Benefits (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | |||
| Balance at beginning of year | $ 650 | $ 597 | $ 508 |
| Gross increases related to prior year tax positions | 52 | 7 | 14 |
| Gross decreases related to prior year tax positions | (8) | (2) | (2) |
| Gross increases related to current year tax positions | 103 | 60 | 85 |
| Reductions due to settlements with taxing authorities | (12) | (7) | (1) |
| Reduction due to lapse in statute of limitations | (5) | (5) | (7) |
| Balance at end of year | $ 780 | $ 650 | $ 597 |