v3.24.0.1
Fair Value Measurements
12 Months Ended
Dec. 31, 2023
Fair Value Disclosures [Abstract]  
Fair Value Measurements Fair Value Measurements
Assets and liabilities measured at fair value are classified into the following categories:
Level 1: Quoted market prices in active markets for identical assets or liabilities.
Level 2: Observable market-based inputs or unobservable inputs that are corroborated by market data.
Level 3: Unobservable inputs reflecting the reporting entity’s own assumptions or external inputs from inactive markets.
We classify our cash equivalents and marketable securities within Level 1 or Level 2 because we use quoted market prices or alternative pricing sources and models utilizing market observable inputs to determine their fair value.
The following tables set forth our financial assets that are measured at fair value on a recurring basis, excluding publicly traded equity securities, as of December 31, 2023 and 2022:
December 31, 2023
Cost or
Amortized Cost
Gross
Unrealized
Gains
Gross
Unrealized
Losses
Total Estimated
Fair Value
(in thousands)
Cash$1,780,402 $— $— $1,780,402 
Level 1 securities:   
U.S. government securities1,295,918 894 (3,919)1,292,893 
U.S. government agency securities138,420 31 (188)138,263 
Level 2 securities:   
Corporate debt securities234,336 577 (99)234,814 
Commercial paper65,380 — — 65,380 
Certificates of deposit18,725 — — 18,725 
Total$3,533,181 $1,502 $(4,206)$3,530,477 

December 31, 2022
Cost or
Amortized Cost
Gross
Unrealized
Gains
Gross
Unrealized
Losses
Total Estimated
Fair Value
(in thousands)
Cash$1,325,946 $— $— $1,325,946 
Level 1 securities:
U.S. government securities1,630,224 109 (9,484)1,620,849 
U.S. government agency securities175,269 19 (188)175,100 
Level 2 securities:
Corporate debt securities309,942 32 (1,462)308,512 
Commercial paper290,589 — — 290,589 
Certificates of deposit157,965 — (1)157,964 
Total$3,889,935 $160 $(11,135)$3,878,960 
Gross unrealized losses on marketable debt securities were not material for the years ended December 31, 2023 and 2022. As of December 31, 2023 and 2022, we considered any decreases in fair value on our marketable debt securities to be driven by factors other than credit risk, including market risk. As of December 31, 2023, $760.2 million of our total $1.8 billion in marketable debt securities have contractual maturities between one and five years. All other marketable debt securities have contractual maturities less than one year.
We hold investments in publicly traded companies with an aggregate carrying value of $13.6 million and $91.5 million as of December 31, 2023 and 2022, respectively, primarily recorded as marketable securities. We classify these publicly traded equity securities within Level 1 because we use quoted market prices to determine their fair value.
Gains and losses recognized during the periods presented, which are included within other income (expense), net on our consolidated statements of operations, were as follows:
Year Ended December 31,
202320222021
(in thousands)
Gains (losses) recognized on publicly traded equity securities sold during the period, net$11,046 $(22,095)$— 
Unrealized gains (losses) on publicly traded equity securities still held at the reporting date, net(17,731)(79,214)122,064 
Gains (losses) on publicly traded equity securities, net$(6,685)$(101,309)$122,064 
We carry the Convertible Notes at face value less the unamortized debt issuance costs on our consolidated balance sheets and present the fair value for disclosure purposes only. As of December 31, 2023, the fair value of the 2025 Notes, the 2026 Notes, the 2027 Notes, and the 2028 Notes was $300.9 million, $893.2 million, $921.5 million, and $1,181.7 million, respectively. As of December 31, 2022, the fair value of the 2025 Notes, the 2026 Notes, the 2027 Notes, and the 2028 Notes was $257.0 million, $711.9 million, $796.2 million, and $1.0 billion, respectively. The estimated fair value of the Convertible Notes, which are classified as Level 2 financial instruments, was determined based on the estimated or actual bid prices of the Convertible Notes in an over-the-counter market on the last business day of the period.