v3.24.2
Fair Value of Financial Instruments (Tables)
6 Months Ended
Jun. 30, 2024
Fair Value Disclosures [Abstract]  
Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis Our assets and liabilities that were measured at fair value on a recurring basis were as follows (in millions):
 June 30, 2024December 31, 2023
 Fair ValueLevel ILevel IILevel IIIFair ValueLevel ILevel IILevel III
Certificates of deposit and time deposits$8,488 $— $8,488 $— $6,996 $— $6,996 $— 
Commercial paper4,311 — 4,311 — 470 — 470 — 
U.S. government securities3,312 — 3,312 — 5,136 — 5,136 — 
Corporate debt securities372 — 372 — 480 — 480 — 
Money market funds10 10 — — 109 109 — — 
Total$16,493 $10 $16,483 $— $13,191 $109 $13,082 $— 
Unrealized Gain (Loss) on Investments
Our cash, cash equivalents and investments classified by security type as of June 30, 2024 and December 31, 2023 consisted of the following (in millions):
 June 30, 2024
 Adjusted CostGross Unrealized GainsGross Unrealized Losses Fair ValueCash and Cash EquivalentsShort-Term Investments
Cash$14,227 $— $— $14,227 $14,227 $— 
Certificates of deposit and time deposits8,488 — — 8,488 — 8,488 
Commercial paper4,311 (2)4,311 — 4,311 
U.S. government securities3,314 — (2)3,312 398 2,914 
Corporate debt securities374 — (2)372 — 372 
Money market funds10 — — 10 10 — 
Total cash, cash equivalents and short-term investments$30,724 $$(6)$30,720 $14,635 $16,085 
 December 31, 2023
 Adjusted CostGross Unrealized GainsGross Unrealized Losses Fair ValueCash and Cash EquivalentsShort-Term Investments
Cash$15,903 $— $— $15,903 $15,903 $— 
Certificates of deposit and time deposits6,995 — 6,996 — 6,996 
U.S. government securities5,136 (1)5,136 277 4,859 
Corporate debt securities485 (6)480 — 480 
Commercial paper470 — — 470 109 361 
Money market funds109 — — 109 109 — 
Total cash, cash equivalents and short-term investments$29,098 $$(7)$29,094 $16,398 $12,696 
Summary of Fair Value of Marketable Securities by Contractual Maturities
The following table summarizes the fair value of our investments by stated contractual maturities as of June 30, 2024 (in millions):
Due in 1 year or less$15,832 
Due in 1 year through 5 years234 
Due in 5 years through 10 years19 
Total$16,085 
Schedule of Estimated Fair Values and Carrying Values The following table presents the estimated fair values and the carrying values (in millions):
 June 30, 2024December 31, 2023
 Carrying ValueFair ValueCarrying ValueFair Value
2024 Notes$— $— $37 $443 
Digital assets, net$184 $722 $184 $487