Fair Value Measurements | Fair Value Measurements Assets measured at fair values on a recurring basis We measure and report our cash equivalents, restricted cash, marketable equity securities and available-for-sale debt securities at fair value on a recurring basis. The following tables summarize the fair value of these financial assets by significant investment category and their levels within the fair value hierarchy (in thousands): September 30, 2023 December 31, 2022 Level I Level II Level III Total Level I Level II Level III Total Financial Assets: Cash Equivalents: Money market funds $ 709,525 $ — $ — $ 709,525 $ 322,294 $ — $ — $ 322,294 Commercial paper — — — — — 5,422 — 5,422 U.S. government notes — — — — 51,986 — — 51,986 Agency securities — — — — — 17,559 — 17,559 709,525 — — 709,525 374,280 22,981 — 397,261 Marketable Securities: Commercial paper — 27,764 — 27,764 — — — — Certificates of deposits (1) — 7,000 — 7,000 — 10,492 — 10,492 U.S. government notes 901,551 — — 901,551 993,955 — — 993,955 Corporate bonds — 1,125,203 — 1,125,203 — 1,113,134 — 1,113,134 Agency securities — 645,267 — 645,267 — 215,380 — 215,380 Marketable equity securities (2) — — — — 19,061 — — 19,061 901,551 1,805,234 — 2,706,785 1,013,016 1,339,006 — 2,352,022 Other Assets: Money market funds - restricted 858 — — 858 4,271 — — 4,271 Total Financial Assets $ 1,611,934 $ 1,805,234 $ — $ 3,417,168 $ 1,391,567 $ 1,361,987 $ — $ 2,753,554 ______________________________________ (1) As of September 30, 2023 and December 31, 2022, all of our certificates of deposits were domestic deposits. (2) During the three months ended September 30, 2023, the Company sold all its shares of marketable equity securities for $23.9 million. This publicly-traded equity investment generated a realized loss of $1.0 million and an unrealized gain of $5.8 million for the three and nine months ended September 30, 2023, respectively. The initial cost of this investment was $3.0 million with no changes since our initial investment. The cumulative gain from the initial purchase was $20.9 million, the majority of which has been reflected in prior periods as net unrealized gains. The realized and unrealized gains/losses are included in Othe r income (expense), net on the unaudited Condensed Consolidated Statements of Operations. Refer to Note 3. Financial Statements Details. During the three and nine months ended September 30, 2023, the Company did not make any transfers between the levels of the fair value hierarchy. Marketable debt securities The following table summarizes the amortized cost, unrealized gains and losses, and fair value of our debt securities measured at fair value on a recurring basis (in thousands): September 30, 2023 December 31, 2022 Amortized Cost Unrealized Gains Unrealized Losses Fair Value Amortized Cost Unrealized Gains Unrealized Losses Fair Value Commercial paper $ 27,764 $ — $ — $ 27,764 $ — $ — $ — $ — U.S. government 906,878 — (5,327) 901,551 1,007,175 3 (13,223) 993,955 Corporate bonds 1,132,878 42 (7,717) 1,125,203 1,125,920 271 (13,057) 1,113,134 Agency securities 648,997 10 (3,740) 645,267 217,893 83 (2,596) 215,380 Total $ 2,716,517 $ 52 $ (16,784) $ 2,699,785 $ 2,350,988 $ 357 $ (28,876) $ 2,322,469 For debt securities in unrealized loss positions, it is not likely that we will be required to sell such securities before recovery of their amortized cost basis nor do we have the intent to sell such securities before maturity. We invest in debt securities that have maximum maturities of two years and are generally deemed to be low risk based on their credit ratings from the major rating agencies. The longer the duration of these marketable securities, the more susceptible they are to changes in market interest rates and bond yields. Given the short-term and conservative nature of our portfolio, our debt securities are generally not subject to credit risk; therefore, we did not recognize any credit losses or non-credit-related impairments related to such securities for the three and nine months ended September 30, 2023. All unrealized losses were recognized in other comprehensive income (loss). Realized gains or losses were immaterial for the three and nine months ended September 30, 2023. The following table is an analysis of our marketable debt securities in unrealized loss positions (in thousands): September 30, 2023 Unrealized Losses within 12 months Unrealized Losses 12 months or greater Total Fair Value Unrealized Losses Fair Value Unrealized Losses Fair Value Unrealized Losses U.S. government notes $ 688,395 $ (3,625) $ 182,156 $ (1,702) $ 870,551 $ (5,327) Corporate bonds 925,541 (5,928) 163,152 (1,789) 1,088,693 (7,717) Agency securities 542,013 (3,158) 62,479 (582) 604,492 (3,740) Total $ 2,155,949 $ (12,711) $ 407,787 $ (4,073) $ 2,563,736 $ (16,784) As of September 30, 2023, we had no marketable debt securities with contractual maturities that exceed 24 months. The fair values of marketable debt securities, by remaining contractual maturities, are as follows (in thousands): September 30, 2023 Fair Value Due in 1 year or less $ 1,517,054 Due in 1 to 2 years 1,182,731 Total debt securities $ 2,699,785 The weighted-average remaining duration of our marketable debt securities is approximately 0.9 years as of September 30, 2023. As we view these marketable debt securities as available to support current operations, we classify marketable debt securities with maturities beyond 12 months as current assets under the caption "Marketable securities" on the condensed consolidated balance sheets. Assets measured at fair value on a non-recurring basis Non-Marketable Equity Securities We have non-marketable equity securities in privately-held companies that do not have readily-determinable fair values. These equity securities are included in Investments on the condensed consolidated balance sheets. Their initial cost is adjusted to fair value on a non-recurring basis based on observable price changes from orderly transactions of identical or similar securities of the same issuer, or for impairment. These investments are classified within Level III of the fair value hierarchy as we estimate the value based on valuation methods using the observable transaction price at the transaction date and other significant unobservable inputs, such as volatility, rights, and obligations related to these securities. In addition, the valuation requires management judgment due to the absence of market price and lack of liquidity. We did not record any realized gains for our non-marketable equity securities during the three and nine months ended September 30, 2023 and September 30, 2022, and w e recorded an immaterial amount of realized and unrealized losses for the three and nine months ended September 30, 2023 and September 30, 2022 . Unrealized gains f or our non-marketable equity securities are summarized below (in thousands): Three Months Ended September 30, Nine Months Ended September 30, 2023 2022 2023 2022 Unrealized gains on non-marketable equity securities (1) $ 500 $ 1,681 $ 13,901 $ 16,681 (1) These unrealized gains were recorded on investments that were re-measured to fair value as of the date observable transactions occurred. We evaluate our non-marketable equity securities for impairment at each reporting period via a qualitative assessment with various potential impairment indicators, including, but not limited to, an assessment of a significant adverse change in the economic environment, significant adverse changes in the general market condition of the geographies and industries in which our investees operate, and other publicly-available information that affected the value of the non-marketable equity securities . The following table summarizes the activity related to our non-marketable equity securities as of September 30, 2023 and December 31, 2022 (in thousands): September 30, 2023 December 31, 2022 Cost of investments (1) $ 31,656 $ 23,625 Cumulative impairment and downward adjustment — (888) Cumulative upward adjustment 30,632 16,731 Carrying amount of investments $ 62,288 $ 39,468 |