Financial Instruments - Gains and Losses on Marketable and Non-Marketable Equity Securities (Details) - USD ($) $ in Millions |
3 Months Ended | |
|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Fair Value Disclosures [Abstract] | ||
| Gross unrealized gain on non-marketable equity securities accounted for under the measurement alternative | $ 36,660 | $ 9,715 |
| Gross unrealized loss (including impairments) on non-marketable equity securities accounted for under the measurement alternative | (346) | (399) |
| Unrealized net gain (loss) on non-marketable equity securities accounted for under the measurement alternative | 36,314 | 9,316 |
| Unrealized net gain (loss) on marketable and other equity securities | 105 | 227 |
| Realized net gain (loss) on marketable and non-marketable equity securities sold during the period | 496 | 215 |
| Total gain (loss) on equity securities in other income (expense), net | $ 36,915 | $ 9,758 |