v3.22.4
Valuation of Debt and Equity Investments and Certain Liabilities - Investments at Fair Value (Details) - USD ($)
$ in Millions
Dec. 31, 2022
Dec. 31, 2021
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash and cash equivalents $ 3,050 $ 4,631
Short-term investments 6,017 5,108
Long-term Investments 34 62
Measured at fair value    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash and cash equivalents 2,343 3,826
Short-term investments 6,017 5,108
Long-term Investments 11 16
Measured at fair value | Available-for-sale debt securities | Money market funds    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash and cash equivalents 1,238 1,824
Short-term investments 0 0
Long-term Investments 0 0
Measured at fair value | Available-for-sale debt securities | Corporate obligations    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash and cash equivalents 276 1,060
Short-term investments 1,535 1,070
Long-term Investments 0 0
Measured at fair value | Available-for-sale debt securities | U.S. government and agency securities    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash and cash equivalents 680 642
Short-term investments 4,234 3,388
Long-term Investments 0 0
Measured at fair value | Available-for-sale debt securities | Non-U.S. government and agency securities    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash and cash equivalents 149 300
Short-term investments 248 650
Long-term Investments 0 0
Measured at fair value | Available-for-sale debt securities | Mutual funds    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash and cash equivalents 0 0
Short-term investments 0 0
Long-term Investments 11 16
Other measurement basis | Equity-method investments    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash and cash equivalents 0 0
Short-term investments 0 0
Long-term Investments 18 42
Other measurement basis | Non-marketable equity investments    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash and cash equivalents 0 0
Short-term investments 0 0
Long-term Investments 5 4
Other measurement basis | Cash on hand    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash and cash equivalents 707 805
Short-term investments 0 0
Long-term Investments $ 0 $ 0