Financial Instruments - Measurement Alternative Investments (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Equity Securities, FV-NI, Gain (Loss), Alternative [Abstract] | |||
| Net gain (loss) on equity securities sold during the period | $ (442) | $ 1,196 | $ 1,339 |
| Net unrealized gain (loss) on equity securities held as of the end of the period | (3,242) | 1,335 | 2,722 |
| Non-Marketable Securities, Unrealized Gain (Loss) | 229 | 9,849 | 1,531 |
| Total gain (loss) recognized in other income (expense), net | $ (3,455) | $ 12,380 | $ 5,592 |