Fair Value Measurements | Fair Value Measurements Assets measured at fair values on a recurring basis We measure and report our cash equivalents, restricted cash, and available-for-sale marketable 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): June 30, 2024 December 31, 2023 Level I Level II Level III Total Level I Level II Level III Total Financial Assets: Cash Equivalents: Money market funds $ 1,309,104 $ — $ — $ 1,309,104 $ 1,015,705 $ — $ — $ 1,015,705 Commercial paper — 16,413 — 16,413 — 1,999 — 1,999 Corporate bonds — 2,132 — 2,132 — — — — U.S. government notes 390,148 — — 390,148 — — — — Agency securities — 4,953 — 4,953 — — — — 1,699,252 23,498 — 1,722,750 1,015,705 1,999 — 1,017,704 Marketable Securities: Commercial paper — 25,680 — 25,680 — — — — Certificates of deposits (1) — — — — — 5,000 — 5,000 U.S. government notes 1,367,612 — — 1,367,612 1,044,859 — — 1,044,859 Corporate bonds — 1,796,961 — 1,796,961 — 1,362,124 — 1,362,124 Agency securities — 654,670 — 654,670 — 657,379 — 657,379 1,367,612 2,477,311 — 3,844,923 1,044,859 2,024,503 — 3,069,362 Other Assets: Money market funds - restricted 868 — — 868 858 — — 858 Total Financial Assets $ 3,067,732 $ 2,500,809 $ — $ 5,568,541 $ 2,061,422 $ 2,026,502 $ — $ 4,087,924 ______________________________________ (1) As of December 31, 2023, all of our certificates of deposits were domestic deposits. During the three and six months ended June 30, 2024, the Company did not make any transfers between the levels of the fair value hierarchy. 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): June 30, 2024 December 31, 2023 Amortized Cost Unrealized Gains Unrealized Losses Fair Value Amortized Cost Unrealized Gains Unrealized Losses Fair Value Commercial paper $ 42,093 $ — $ — $ 42,093 $ 1,999 $ — $ — $ 1,999 U.S. government 1,761,003 141 (3,384) 1,757,760 1,043,445 2,874 (1,460) 1,044,859 Corporate bonds 1,804,507 365 (5,779) 1,799,093 1,361,132 2,810 (1,818) 1,362,124 Agency securities 660,572 130 (1,079) 659,623 657,118 1,143 (882) 657,379 Total $ 4,268,175 $ 636 $ (10,242) $ 4,258,569 $ 3,063,694 $ 6,827 $ (4,160) $ 3,066,361 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 six months ended June 30, 2024. All unrealized losses were recognized in other comprehensive income (loss). Realized gains or losses were immaterial for the three and six months ended June 30, 2024. The following table is an analysis of our debt securities in unrealized loss positions (in thousands): June 30, 2024 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 $ 1,445,689 $ (2,660) $ 161,063 $ (724) $ 1,606,752 $ (3,384) Corporate bonds 1,408,050 (5,076) 184,252 (703) 1,592,302 (5,779) Agency securities 339,109 (508) 179,258 (571) 518,367 (1,079) Total $ 3,192,848 $ (8,244) $ 524,573 $ (1,998) $ 3,717,421 $ (10,242) As of June 30, 2024, we had no marketable securities with contractual maturities that exceeded 24 months. The fair values of marketable securities by remaining contractual maturities, are as follows (in thousands): June 30, 2024 Fair Value Due in 1 year or less $ 2,196,729 Due in 1 to 2 years 1,648,194 Total debt securities $ 3,844,923 The weighted-average remaining duration of our marketable securities is approximately 0.9 years as of June 30, 2024. As we view these marketable securities as available to support current operations, we classify marketable 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 or losses for our non-marketable equity securities during the three and six months ended June 30, 2024 and June 30, 2023, and w e recorded nil and immaterial amounts of unrealized gains or losses for the three and six months ended June 30, 2024 and June 30, 2023, respectively . 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 June 30, 2024 and December 31, 2023 (in thousands): June 30, 2024 December 31, 2023 Cost of investments $ 32,656 $ 31,656 Cumulative impairment and downward adjustment — — Cumulative upward adjustment 30,632 30,632 Carrying amount of investments $ 63,288 $ 62,288 |