| Fair Value Measurements |
Fair Value Measurements We define fair value as the 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. Valuation techniques we use to measure fair value maximize the use of observable inputs and minimize the use of unobservable inputs. We classify the inputs used to measure fair value into the following hierarchy:
| | | | | | | Level 1 | Unadjusted quoted prices in active markets for identical assets or liabilities. | | Level 2 | Unadjusted quoted prices in active markets for similar assets or liabilities; unadjusted quoted prices for identical or similar assets or liabilities in markets that are not active; inputs other than quoted prices that are observable for the asset or liability. | | Level 3 | Unobservable inputs for the asset or liability. |
Our financial assets measured at fair value on a recurring basis are summarized below by their classification within the fair value hierarchy (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | March 31, 2023 | | Carrying Value | | Level 1 | | Level 2 | | Level 3 | | Total | | Assets | | | | | | | | | | | Cash equivalents | | | | | | | | | | | Money market funds | $ | 18,174 | | | $ | 18,174 | | | $ | — | | | $ | — | | | $ | 18,174 | | | Commercial paper | 117,710 | | | — | | | 117,710 | | | — | | | 117,710 | | | Agency bonds | 20,359 | | | — | | | 20,359 | | | — | | | 20,359 | | | Short-term marketable securities | | | | | | | | | | | | | | | | | | | | | Commercial paper | 22,059 | | | — | | | 22,059 | | | — | | | 22,059 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Total assets measured at fair value | $ | 178,302 | | | $ | 18,174 | | | $ | 160,128 | | | $ | — | | | $ | 178,302 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | December 31, 2022 | | | Carrying Value | | Level 1 | | Level 2 | | Level 3 | | Total | | Assets | | | | | | | | | | | Cash equivalents | | | | | | | | | | | Money market funds | $ | 13,015 | | | $ | 13,015 | | | $ | — | | | $ | — | | | $ | 13,015 | | | Commercial paper | 112,268 | | | — | | | 112,268 | | | — | | | 112,268 | | | Agency bonds | 1,342 | | | — | | | 1,342 | | | — | | | 1,342 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Total assets measured at fair value | $ | 126,625 | | | $ | 13,015 | | | $ | 113,610 | | | $ | — | | | $ | 126,625 | |
We endeavor to utilize the best available information in measuring fair value. Our money market funds are measured at fair value based on quoted prices in active markets and are classified as Level 1 within the fair value hierarchy. Our available-for-sale marketable securities, which include commercial paper with maturities of less than one year, are measured at fair value using quoted market prices to the extent available or alternative pricing sources and models utilizing market observable inputs and are classified as Level 2 within the fair value hierarchy. Our portfolio primarily consisted of financial instruments with a credit rating of A or equivalent by S&P Rating and Moody's Investor Services. There were no transfers between the hierarchy levels during the three months ended March 31, 2023 or the year ended December 31, 2022.
The following table summarizes our cash equivalents and available-for-sale debt securities by contractual maturity (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | As of March 31, 2023 | | As of December 31, 2022 | | Amortized Cost | | Fair Value | | Amortized Cost | | Fair Value | | Due in 1 year | $ | 178,326 | | | $ | 178,302 | | | $ | 126,664 | | | $ | 126,625 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Unrealized gains and losses on available-for-sale debt securities that are not credit related are included in accumulated other comprehensive income and summarized as follows (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | March 31, 2023 | | Amortized Cost | | Unrealized Gains | | Unrealized Losses | | Fair Value | | Cash equivalents | | | | | | | | | Money market funds | $ | 18,174 | | | $ | — | | | $ | — | | | $ | 18,174 | | | Commercial paper | 117,732 | | | — | | | (22) | | | 117,710 | | | Agency bonds | 20,349 | | | 10 | | | — | | | 20,359 | | | Short-term marketable securities | | | | | | | | | | | | | | | | | Commercial paper | 22,071 | | | — | | | (12) | | | 22,059 | | | | | | | | | | | | | | | | | | | | | | | | | | | Total | $ | 178,326 | | | $ | 10 | | | $ | (34) | | | $ | 178,302 | |
| | | | | | | | | | | | | | | | | | | | | | | | | December 31, 2022 | | Amortized Cost | | Unrealized Gains | | Unrealized Losses | | Fair Value | | Cash equivalents | | | | | | | | | Money market funds | $ | 13,015 | | | $ | — | | | $ | — | | | $ | 13,015 | | | Commercial paper | 112,307 | | | — | | | (39) | | | 112,268 | | | Agency bonds | 1,342 | | | — | | | — | | | 1,342 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Total | $ | 126,664 | | | $ | — | | | $ | (39) | | | $ | 126,625 | |
As of March 31, 2023 and December 31, 2022, we had 28 and 26 securities, respectively, in net loss positions and their unrealized losses were immaterial individually and in aggregate. We did not record any credit losses regarding our available-for-sale debt securities during the three months ended March 31, 2023 or the year ended December 31, 2022. We do not intend to sell these securities, and it is more likely than not that we will not be required to sell these securities before the recovery of their amortized cost basis.
|