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, 2022 and December 31, 2021 (in thousands): March 31, 2022 Amortized Cost Gross Unrealized Gains Gross Unrealized Losses Estimated Fair Value Corporate bonds $ 16,678 $ — $ (23) $ 16,655 Agency securities 19,753 — (336) 19,417 Treasury securities 89,418 — (1,250) 88,168 Total available-for-sale investment securities $ 125,849 $ — $ (1,609) $ 124,240 December 31, 2021 Amortized Cost Gross Unrealized Gains Gross Unrealized Losses Estimated Fair Value Corporate bonds $ 29,080 $ — $ (11) $ 29,069 Agency securities 19,753 — (27) 19,726 Treasury securities 77,108 2 (229) 76,881 Total available-for-sale investment securities $ 125,941 $ 2 $ (267) $ 125,676 For available-for-sale debt securities in an unrealized loss position, we first assess whether we intend to sell, or whether it is more likely than not that we will be required to sell the security before recovery of its amortized cost basis. If either of these criteria is met, the security’s amortized cost basis is written down to fair value through income. For securities in an unrealized loss position that do not meet these criteria, we evaluate whether the decline in fair value has resulted from credit loss or other factors. If this assessment indicates a credit loss exists, the credit-related portion of the loss is recorded as an allowance for losses on the security. As of March 31, 2022, 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, 2022 or December 31, 2021. As of March 31, 2022 and December 31, 2021, the contractual maturities of our investments did not exceed 36 months. The fair values of available-for-sale investment securities, by remaining contractual maturity, are as follows (in thousands): March 31, 2022 December 31, 2021 Amortized Cost Estimated Fair Value Amortized Cost Estimated Fair Value Due in one year or less $ 78,741 $ 78,389 $ 64,627 $ 64,600 Due after one year through three years 47,108 45,851 61,314 61,076 Total available-for-sale investment securities $ 125,849 $ 124,240 $ 125,941 $ 125,676 During the three months ended March 31, 2022 and 2021, we had sales and maturities (which include calls) of investment securities, as follows (in thousands): 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 Three Months Ended March 31, 2021 Gross Realized Gains Gross Realized Losses Gross Proceeds from Sales Gross Proceeds from Maturities Treasury securities $ 1 $ — $ 17,899 $ 1,000 Fair Value Measurements Recurring Fair Value Measurements Financial assets and financial liabilities are classified in their entirety based on the lowest level of input that is significant to the fair value measurement. The following tables present our financial assets and liabilities measured at fair value on a recurring basis as of March 31, 2022 and December 31, 2021 by level within the fair value hierarchy (in thousands): March 31, 2022 Level 1 Level 2 Level 3 Total Fair Cash equivalents: Money market funds $ 5,251 $ — $ — $ 5,251 Treasury securities 1,000 — — 1,000 Available-for-sale investment securities: Corporate bonds — 16,655 — 16,655 Agency securities — 19,417 — 19,417 Treasury securities 88,168 — — 88,168 Total $ 94,419 $ 36,072 $ — $ 130,491 December 31, 2021 Level 1 Level 2 Level 3 Total Fair Cash equivalents: Money market funds $ 6,105 $ — $ — $ 6,105 Available-for-sale investment securities: Corporate bonds — 29,069 — 29,069 Agency securities — 19,726 — 19,726 Treasury securities 76,881 — — 76,881 Total $ 82,986 $ 48,795 $ — $ 131,781 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. |