Financial Instruments - Gains and Losses on Equity Securities (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 |
| Total gain (loss) recognized in other income (expense), net | $ (3,455) | $ 12,380 | $ 5,592 |