Financial Instruments - Summary of gains and losses for Debt Securities (Details) - USD ($) $ in Millions |
3 Months Ended | |
|---|---|---|
Mar. 31, 2024 |
Mar. 31, 2023 |
|
| Fair Value Disclosures [Abstract] | ||
| Unrealized gain (loss) on fair value option debt securities | $ (46) | $ 145 |
| Gross realized gain on debt securities | 68 | 57 |
| Gross realized loss on debt securities | (480) | (492) |
| (Increase) decrease in allowance for credit losses | (4) | (3) |
| Total gain (loss) on debt securities recognized in other income (expense), net | $ (462) | $ (293) |
| X | ||||||||||
- Definition Fair Value, Option, Debt Securities, Available-For-Sale, Unrealized Gain (Loss) No definition available.
|
| X | ||||||||||
- Definition Amount of increase (decrease) in allowance for credit loss of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of unrealized and realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of realized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of realized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|