Investment Securities and Fair Value Measurements | Investment Securities and Fair Value Measurements Investment Securities Investment securities classified as available-for-sale consisted of the following as of March 31, 2023 and December 31, 2022 (in thousands): March 31, 2023 Amortized Cost Gross Unrealized Gains Gross Unrealized Losses Estimated Fair Value Corporate bonds $ 9,631 $ — $ (52) $ 9,579 Agency securities 11,259 — (317) 10,942 Treasury securities 58,249 — (1,025) 57,224 Total available-for-sale investment securities $ 79,139 $ — $ (1,394) $ 77,745 December 31, 2022 Amortized Cost Gross Unrealized Gains Gross Unrealized Losses Estimated Fair Value Corporate bonds $ 17,497 $ 2 $ (112) $ 17,387 Agency securities 17,507 — (484) 17,023 Treasury securities 81,605 — (1,557) 80,048 Total available-for-sale investment securities $ 116,609 $ 2 $ (2,153) $ 114,458 As of March 31, 2023, the decline in fair value below amortized cost basis was not considered other than temporary as it is more likely than not we will hold the securities until maturity or recovery of the cost basis. No allowance for credit losses for available-for-sale investment securities was recorded as of March 31, 2023 or December 31, 2022. The fair values of available-for-sale investment securities, by remaining contractual maturity, are as follows (in thousands): March 31, 2023 December 31, 2022 Amortized Cost Estimated Fair Value Amortized Cost Estimated Fair Value Due in one year or less $ 66,348 $ 65,022 $ 90,822 $ 89,297 Due after one year through three years 12,791 12,723 25,787 25,161 Total available-for-sale investment securities $ 79,139 $ 77,745 $ 116,609 $ 114,458 During the three months ended March 31, 2023 and 2022, we had sales and maturities of investment securities, as follows (in thousands): Three Months Ended March 31, 2023 Gross Realized Gains Gross Realized Losses Gross Proceeds from Sales Gross Proceeds from Maturities Corporate bonds $ 3 $ — $ 1,013 $ 6,860 Agency securities — — — 6,250 Treasury securities — — — 24,780 Total $ 3 $ — $ 1,013 $ 37,890 Three Months Ended March 31, 2022 Gross Realized Gains Gross Realized Losses Gross Proceeds from Sales Gross Proceeds from Maturities Corporate bonds $ — $ — $ — $ 12,343 Treasury securities — — — 11,000 Total $ — $ — $ — $ 23,343 Fair Value Measurements Recurring Fair Value Measurements The following tables present our financial assets and liabilities measured at fair value on a recurring basis as of March 31, 2023 and December 31, 2022 by level within the fair value hierarchy (in thousands): March 31, 2023 Level 1 Level 2 Total Fair Cash equivalents: Money market funds $ 24,442 $ — $ 24,442 Treasury securities 56,173 — 56,173 Available-for-sale investment securities: Corporate bonds — 9,579 9,579 Agency securities — 10,942 10,942 Treasury securities 57,224 — 57,224 Total $ 137,839 $ 20,521 $ 158,360 December 31, 2022 Level 1 Level 2 Total Fair Cash equivalents: Money market funds $ 41,973 $ — $ 41,973 Treasury securities 1,287 — 1,287 Available-for-sale investment securities: Corporate bonds — 17,387 17,387 Agency securities — 17,023 17,023 Treasury securities 80,048 — 80,048 Total $ 123,308 $ 34,410 $ 157,718 The carrying amounts of cash and cash equivalents, restricted cash, accounts receivable, accounts payable and accrued liabilities approximate their fair value because of the short maturity of these items. Fair value for our Level 1 investment securities is based on market prices for identical assets. Our Level 2 securities were priced by a pricing vendor. The pricing vendor utilizes the most recent observable market information in pricing these securities or, if specific prices are not available for these securities, other observable inputs like market transactions involving comparable securities are used. |