Investments and Fair Value Measurements | Investments and Fair Value Measurements The Company's total cash, cash equivalents and marketable securities consisted of the following: As of March 31, As of December 31, 2023 2022 (in thousands) Cash and cash equivalents: Cash $ 69,959 $ 46,516 Money market funds 278,504 96,875 Total cash and cash equivalents (1) $ 348,463 $ 143,391 Marketable securities: U.S. Treasury securities $ 131,678 $ 287,988 Corporate notes and bonds 64,195 71,744 Asset-backed securities — 175 Municipal securities 2,243 2,221 Foreign government and supranational securities — 12,453 Total marketable securities, current (2) $ 198,116 $ 374,581 Corporate notes and bonds 101,776 140,949 Asset-backed securities 15,742 24,156 Total marketable securities, non-current (3) $ 117,518 $ 165,105 Total marketable securities $ 315,634 $ 539,686 Total cash, cash equivalents and marketable securities $ 664,097 $ 683,077 (1) The Company's cash equivalents include investments with an original maturity date of three months or less. (2) The Company classifies its marketable securities as current, where it intends to hold the securities for less than 12 months. (3) The Company classifies its marketable securities are non-current, where it intends to hold the securities for longer than 12 months. Available-for-Sale Investments The following table summarizes adjusted cost, gross unrealized gains and losses, and fair value related to available-for-sale securities classified as marketable securities on the accompanying condensed consolidated balance sheets as of March 31, 2023 and December 31, 2022: As of March 31, 2023 Amortized Gross Gross Fair (in thousands) U.S. Treasury securities $ 133,034 $ — $ (1,356) $ 131,678 Corporate notes and bonds 169,437 — (3,466) 165,971 Asset-backed securities 15,881 — (139) 15,742 Municipal securities 2,321 — (78) 2,243 Total available-for-sale investments $ 320,673 $ — $ (5,039) $ 315,634 As of December 31, 2022 Amortized Gross Gross Fair (in thousands) U.S. Treasury securities $ 291,685 $ — $ (3,697) $ 287,988 Corporate notes and bonds 217,187 — (4,494) 212,693 Asset-backed securities 24,617 — (286) 24,331 Municipal securities 2,322 — (101) 2,221 Foreign government and supranational securities 12,522 — (69) 12,453 Total available-for-sale investments $ 548,333 $ — $ (8,647) $ 539,686 There were no material realized gains or losses from sales of marketable securities that were reclassified out of accumulated other comprehensive income (loss) into other income during the three months ended March 31, 2023 and 2022. There were 61 securities in a continuous loss position for 12 months or longer as of March 31, 2023 and 76 securities in a continuous loss position for 12 months or longer as of December 31, 2022. Investments are reviewed periodically to identify possible other-than-temporary impairments. For the three months ended March 31, 2023 and 2022, the Company did not record any impairment charges for its marketable debt securities in its condensed consolidated statements of operations. No impairment loss has been recorded on the securities as the Company does not intend to sell any impaired securities, nor is it more likely than not that the Company would be required to sell impaired securities before recovery of amortized cost basis. Furthermore, the Company has determined that the decline in fair value of the investment is not due to credit related factors. Fair Value of Financial Instruments For certain of the Company's financial instruments, including cash held in banks, accounts receivable, and accounts payable, the carrying amounts approximate fair value due to their short maturities, and are therefore excluded from the fair value tables below. Fair value is defined as the exchange price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. There is a three-tier fair value hierarchy, which prioritizes the inputs used in measuring fair value as follows: Level 1—Observable inputs such as quoted prices in active markets for identical assets or liabilities; Level 2—Inputs other than Level 1 that are observable, either directly or indirectly, such as quoted prices for similar assets or liabilities, quoted prices in markets that are not active, or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities; and Level 3—Unobservable inputs that are supported by little or no market activity, which require management judgment or estimation. The Company measures its cash equivalents, marketable securities, and restricted cash at fair value. The Company classifies its cash equivalents, marketable securities and restricted cash within Level 1 or Level 2 because the Company values these investments using quoted market prices or alternative pricing sources and models utilizing market observable inputs. The Company classifies its investments, which are comprised of corporate notes and bonds, U.S. treasury securities, foreign government and supranational securities and asset-backed securities within Level 2 of the fair value hierarchy because the fair value of these securities is priced by using inputs based on non-binding market consensus prices that are primarily corroborated by observable market data or quoted market prices for similar instruments. Financial assets and liabilities measured and recorded at fair value on a recurring basis consisted of the following types of instruments: As of March 31, 2023 Level 1 Level 2 Level 3 Total (in thousands) Cash equivalents: Money market funds $ 278,504 $ — $ — $ 278,504 Total cash equivalents 278,504 — — 278,504 Marketable securities: Corporate notes and bonds — 165,971 — 165,971 U.S. Treasury securities — 131,678 — 131,678 Municipal securities — 2,243 — 2,243 Asset-backed securities — 15,742 — 15,742 Foreign government and supranational securities — — — — Total marketable securities — 315,634 — 315,634 Restricted cash: Restricted cash, current 150 — — 150 Total restricted cash 150 — — 150 Total financial assets $ 278,654 $ 315,634 $ — $ 594,288 As of December 31, 2022 Level 1 Level 2 Level 3 Total (in thousands) Cash equivalents: Money market funds $ 96,875 $ — $ — $ 96,875 Total cash equivalents 96,875 — — 96,875 Marketable securities: U.S. Treasury securities — 287,988 — 287,988 Corporate notes and bonds — 212,693 — 212,693 Asset-backed securities — 24,331 — 24,331 Municipal securities — 2,221 — 2,221 Foreign government and supranational securities — 12,453 — 12,453 Total marketable securities — 539,686 — 539,686 Restricted cash: Restricted cash, current 150 — — 150 Total restricted cash 150 — — 150 Total financial assets $ 97,025 $ 539,686 $ — $ 636,711 Restricted cash was $0.2 million as of both March 31, 2023 and December 31, 2022. The restricted cash balance consisted of letters of credit related to lease arrangements that were collateralized by the Company's cash. The amounts as of March 31, 2023 and December 31, 2022, were both classified as current on the Company's condensed consolidated balance sheets. There were no transfers of assets and liabilities measured at fair value between Level 1 and Level 2, or between Level 2 and Level 3, during the three months ended March 31, 2023 and 2022. |