| Schedule of carrying value and amortized cost of available-for-sale debt securities |
The carrying value and amortized cost of the Company’s available-for-sale debt securities, summarized by type of security, consisted of the following: | | | | | | | | | | | March 31, 2024 | | | Amortized | | Unrealized | | Unrealized | | | Fair | | | Cost | | Gains | | Losses | | | Value | Short-term: | | | | | | | | | | Commercial paper | $ | 23,038 | | 10 | | (7) | | $ | 23,041 | Corporate debt securities | | 16,316 | | 16 | | (4) | | | 16,328 | Total short-term investments | $ | 39,354 | | 26 | | (11) | | $ | 39,369 | | | | | | | | | | | Long-term: | | | | | | | | | | Corporate debt securities | | 51,062 | | 61 | | (50) | | | 51,073 | U.S. government securities | | 30,368 | | — | | (197) | | | 30,171 | Total long-term investments | $ | 81,430 | | 61 | | (247) | | $ | 81,244 |
| | | | | | | | | | | December 31, 2023 | | | Amortized | | Unrealized | | Unrealized | | | Fair | | | Cost | | Gains | | Losses | | | Value | Short-term: | | | | | | | | | | Commercial paper | $ | 23,832 | | 36 | | (3) | | $ | 23,865 | Corporate debt securities | | 15,968 | | 28 | | — | | | 15,996 | U.S. government securities | | 1,940 | | — | | (1) | | | 1,939 | Total short-term investments | $ | 41,740 | | 64 | | (4) | | $ | 41,800 | | | | | | | | | | | Long-term: | | | | | | | | | | Commercial paper | $ | 744 | | — | | — | | $ | 744 | Corporate debt securities | | 42,688 | | 81 | | (28) | | | 42,741 | U.S. government securities | | 28,795 | | 7 | | (118) | | | 28,684 | Total long-term investments | $ | 72,227 | | 88 | | (146) | | $ | 72,169 |
|