Financial Instruments - Gains and Losses on Marketable and Non-marketable Equity Securities (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2023 |
Jun. 30, 2022 |
Jun. 30, 2023 |
Jun. 30, 2022 |
|
| Fair Value Disclosures [Abstract] | ||||
| Realized net gain (loss) on equity securities sold during the period | $ 87 | $ 26 | $ 292 | $ (230) |
| Unrealized net gain (loss) on marketable equity securities | 397 | (1,188) | 349 | (2,462) |
| Unrealized net gain (loss) on non-marketable equity securities | (689) | 911 | (469) | 1,371 |
| Gain (loss) on equity securities, net | (205) | (251) | 172 | (1,321) |
| Non-marketable securities upward adjustment | 75 | 2,200 | 989 | 3,000 |
| Non-marketable securities, downward adjustment | $ 789 | $ 1,300 | $ 1,500 | $ 1,600 |