Cash, cash equivalents, restricted cash, and available-for-sale marketable securities | 4. Cash, cash equivalents, restricted cash, and available-for-sale marketable securities Cash, cash equivalents, and marketable securities included the following at March 31, 2024 and December 31, 2023: Amortized Unrealized Unrealized Fair Cost Gains Losses Value (in thousands) As of March 31, 2024 Money market funds included in cash and cash equivalents $ 49,444 $ — $ — $ 49,444 Marketable securities: U.S. Treasury notes 24,540 — (54) 24,486 U.S. Government agency securities 138,285 7 (101) 138,191 Corporate bonds 89,207 11 (235) 88,983 Commercial paper 4,829 1 — 4,830 Total money market funds and marketable securities $ 306,305 $ 19 $ (390) $ 305,934 As of December 31, 2023 Money market funds included in cash and cash equivalents $ 65,589 — — $ 65,589 Marketable securities: U.S. Treasury notes 102,966 81 (3) 103,044 U.S. Government agency securities 31,068 10 (3) 31,075 Corporate bonds 23,975 2 (7) 23,970 Commercial paper 3,985 — — 3,985 Total money market funds and marketable securities $ 227,583 $ 93 $ (13) $ 227,663 The Company had $1.0 million in marketable securities as of March 31, 2024 with a contractual maturity of greater than one year. All other marketable securities have a contractual maturity of one year or less. The Company reviews investments whenever the fair value of an investment is less than the amortized cost and evidence indicates that an investment’s carrying amount is not recoverable within a reasonable period of time. In connection with these investments, the Company evaluates whether the decline in fair value has resulted from credit losses or other factors, considering the extent to which fair value is less than amortized cost, any changes to the rating of the security by a rating agency, and adverse conditions specifically related to the security, among other factors. If this assessment indicates that a credit loss exists, the present value of cash flows expected to be collected from the security is compared to the amortized cost basis of the security. If the present value of cash flows expected to be collected is less than the amortized cost basis, a credit loss exists and an allowance for credit losses is recorded for the credit loss on the condensed consolidated balance sheet, limited by the amount that the fair value is less than the amortized cost basis. Any impairment that is not related to credit is recognized in other comprehensive loss. Changes in the allowance for credit losses are recorded as a provision for (or reversal of) credit loss expense in general and administrative expenses within the condensed consolidated statement of operations. Losses are charged against the allowance when the Company believes the uncollectability of an available-for-sale security is confirmed or when either of the criteria regarding intent or requirement to sell is met. The Company held $230.7 million and $44.2 million marketable securities that were in an unrealized loss position as of March 31, 2024 and December 31, 2023, respectively. The unrealized losses at March 31, 2024 and December 31, 2023 were attributable to changes in interest rates and do not represent credit losses. The Company does not intend to sell these securities and it is not more likely than not that it will be required to sell them before recovery of their amortized cost basis. The following table provides a reconciliation of cash, cash equivalents, and restricted cash within the condensed consolidated balance sheets that sum to the total of the same such amounts shown in the condensed consolidated statements of cash flows: As of March 31, 2024 2023 (in thousands) Cash and cash equivalents $ 143,078 $ 268,321 Restricted cash included in deposits and other non-current assets 2,875 1,515 Total cash, cash equivalents, and restricted cash $ 145,953 $ 269,836 |