Investments and Fair Value Measurement - Unrealized Gain (Loss) on Non-Marketable Securities (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Fair Value Disclosures [Abstract] | |||
| Upward adjustments | $ 908 | $ 1,046 | $ 71 |
| Downward adjustments (including impairment) | (472) | (641) | 0 |
| Total unrealized gain (loss) for non-marketable equity securities | $ 436 | $ 405 | $ 71 |