v3.22.4
Fair Value Measurements
12 Months Ended
Dec. 31, 2022
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 table sets forth our financial assets as of December 31, 2022 and 2021 that are measured at fair value on a recurring basis during the period:
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 
Publicly traded equity securities (1)
102,189 20,859 (31,548)91,500 
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,992,124 $21,019 $(42,683)$3,970,460 
(1)
During the year ended December 31, 2022, we reclassified strategic investments from Level 3 to Level 1 at their fair value using the beginning-of-period approach, following the commencement of public market trading of the investments during the quarter (a portion of which was subject to short-term lock-up restrictions as of December 31, 2022).
December 31, 2021
Cost or
Amortized Cost
Gross
Unrealized
Gains
Gross
Unrealized
Losses
Total Estimated
Fair Value
(in thousands)
Cash$1,966,966 $— $— $1,966,966 
Level 1 securities:
U.S. government securities811,092 (1,454)809,639 
U.S. government agency securities77,409 (8)77,402 
Publicly traded equity securities71,139 122,064 — 193,203 
Level 2 securities:
Corporate debt securities143,124 — (207)142,917 
Commercial paper422,328 — (1)422,327 
Certificates of deposit80,431 — — 80,431 
Total$3,572,489 $122,066 $(1,670)$3,692,885 
We held investments in publicly traded companies with an aggregate carrying value of $91.5 million and $193.2 million as of December 31, 2022 and 2021, respectively, primarily recorded as marketable securities. We recorded total losses of $101.3 million and unrealized gains of $122.1 million related to these investments for the years ended December 31, 2022 and 2021, respectively, within other income (expense), net on our consolidated statements of operations. Unrealized losses related to publicly traded equity securities still held as of December 31, 2022 were $79.2 million for the year ended December 31, 2022.
Gross unrealized losses on marketable debt securities were not material as of December 31, 2022 and 2021, respectively. As of December 31, 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, 2022, $357.5 million of our total $2.5 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 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, 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. As of December 31, 2021, the fair value of the 2025 Notes, the 2026 Notes, and the 2027 Notes was $650.1 million, $1.9 billion, and $1.1 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.