XML 21 R9.htm IDEA: XBRL DOCUMENT v3.24.2
2. Cash, Cash Equivalents, and Marketable Securities (Notes)
6 Months Ended
Jun. 30, 2024
Cash, Cash Equivalents, and Short-Term Investments [Abstract]  
Cash, Cash Equivalents, and Marketable Securities
2. Cash, Cash Equivalents, and Marketable Securities

Cash, cash equivalents, and marketable securities consisted of the following at June 30, 2024 and December 31, 2023 (in thousands):
June 30,
2024
December 31,
2023
Cash and cash equivalents:
Cash$943,765 $841,310 
Money market funds759,148 1,105,684 
Total cash and cash equivalents1,702,913 1,946,994 
Marketable securities:
Foreign debt— 34,895 
U.S. debt8,517 44,089 
Time deposits28,913 76,511 
Total marketable securities37,430 155,495 
Total cash, cash equivalents, and marketable securities$1,740,343 $2,102,489 
The following table provides a reconciliation of cash, cash equivalents, restricted cash, and restricted cash equivalents reported within our condensed consolidated balance sheets as of June 30, 2024 and December 31, 2023 to the total of such amounts as presented in the condensed consolidated statements of cash flows (in thousands):
Balance Sheet Line ItemJune 30,
2024
December 31,
2023
Cash and cash equivalentsCash and cash equivalents$1,702,913 $1,946,994 
Restricted cash current
Other current assets8,262 8,262 
Restricted cash noncurrent
Other assets3,601 3,621 
Restricted cash equivalents – noncurrentOther assets1,801 6,192 
Total cash, cash equivalents, restricted cash, and restricted cash equivalents$1,716,577 $1,965,069 

During the three months ended June 30, 2024, we sold marketable securities for proceeds of $67.5 million and realized a gain of less than $0.1 million on such sales. During the three months ended June 30, 2023, we sold marketable securities for proceeds of $34.9 million and realized a loss of less than $0.1 million on such sales. See Note 8. “Fair Value Measurements” to our condensed consolidated financial statements for information about the fair value of our marketable securities.

The following tables summarize the unrealized gains and losses related to our available-for-sale marketable securities, by major security type, as of June 30, 2024 and December 31, 2023 (in thousands):
 As of June 30, 2024
Amortized
Cost
Unrealized
Gains
Unrealized
Losses
Allowance for Credit LossesFair
Value
U.S. debt$10,000 $— $1,483 $— $8,517 
Time deposits28,916 — — 28,913 
Total$38,916 $— $1,483 $$37,430 
 As of December 31, 2023
Amortized
Cost
Unrealized
Gains
Unrealized
Losses
Allowance for Credit LossesFair
Value
Foreign debt$35,000 $— $91 $14 $34,895 
U.S. debt45,625 88 1,614 10 44,089 
Time deposits76,533 — — 22 76,511 
Total$157,158 $88 $1,705 $46 $155,495 

The contractual maturities of our marketable securities as of June 30, 2024 were as follows (in thousands):
Fair
Value
Within one year
$28,913 
After one year through five years
4,615 
After five years through ten years
3,902 
Total$37,430