| Summary of Marketable Securities |
The Company’s marketable securities consisted of the following (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | June 30, 2024 | | Amortized Cost | | Gross Unrealized Gains | | Gross Unrealized Losses | | Fair Value | | Available-for-sale securities, short-term | | | | | | | | | Corporate debt securities | $ | 152,714 | | | $ | 6 | | | $ | (201) | | | $ | 152,519 | | | | | | | | | | | Government and agency - U.S. | 40,000 | | | 2 | | | (4) | | | 39,998 | | | Total available-for-sale securities, short-term | 192,714 | | | 8 | | | (205) | | | 192,517 | | | Available-for-sale securities, long-term | | | | | | | | | Corporate debt securities | 15,866 | | | 32 | | | — | | | 15,898 | | | Government and agency - U.S. | 5,009 | | | 1 | | | — | | | 5,010 | | | Total available-for-sale securities, long-term | 20,875 | | | 33 | | | — | | | 20,908 | | | Total available-for-sale securities | $ | 213,589 | | | $ | 41 | | | $ | (205) | | | $ | 213,425 | |
| | | | | | | | | | | | | | | | | | | | | | | | | December 31, 2023 | | Amortized Cost | | Gross Unrealized Gains | | Gross Unrealized Losses | | Fair Value | | Available-for-sale securities, short-term | | | | | | | | | Corporate debt securities | $ | 144,184 | | | $ | 97 | | | $ | (191) | | | $ | 144,090 | | | | | | | | | | | Government and agency - U.S. | 32,470 | | | 82 | | | (6) | | | 32,546 | | | Total available-for-sale securities, short-term | 176,654 | | | 179 | | | (197) | | | 176,636 | | | Available-for-sale securities, long-term | | | | | | | | | Corporate debt securities | 57,240 | | | 320 | | | (15) | | | 57,545 | | | Government and agency - U.S. | 4,985 | | | 23 | | | — | | | 5,008 | | | Total available-for-sale securities, long-term | 62,225 | | | 343 | | | (15) | | | 62,553 | | | Total available-for-sale securities | $ | 238,879 | | | $ | 522 | | | $ | (212) | | | $ | 239,189 | |
|
| Summary of Unrealized Losses |
The following tables summarize the amount of unrealized losses, defined as the amount by which the amortized cost exceeds fair value, and the related fair value of available-for-sale marketable securities with unrealized losses, which have been segregated into two categories: those that have been in a continuous unrealized loss position for less than 12 months and those that have been in a continuous unrealized loss position for 12 or more months (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | June 30, 2024 | | Less than 12 Months | | Greater than 12 Months | | Total | | Fair Value | | Unrealized Losses | | Fair Value | | Unrealized Losses | | Fair Value | | Unrealized Losses | | Corporate debt securities | $ | 125,026 | | | $ | (149) | | | $ | 19,205 | | | $ | (52) | | | $ | 144,231 | | | $ | (201) | | | | | | | | | | | | | | | Government and agency - U.S. | 28,043 | | | (4) | | | — | | | — | | | 28,043 | | | (4) | | | Total | $ | 153,069 | | | $ | (153) | | | $ | 19,205 | | | $ | (52) | | | $ | 172,274 | | | $ | (205) | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | December 31, 2023 | | Less than 12 Months | | Greater than 12 Months | | Total | | Fair Value | | Unrealized Losses | | Fair Value | | Unrealized Losses | | Fair Value | | Unrealized Losses | | Corporate debt securities | $ | 78,995 | | | $ | (152) | | | $ | 12,074 | | | $ | (54) | | | $ | 91,069 | | | $ | (206) | | | | | | | | | | | | | | | Government and agency - U.S. | 5,585 | | | (6) | | | — | | | — | | | 5,585 | | | (6) | | | Total | $ | 84,580 | | | $ | (158) | | | $ | 12,074 | | | $ | (54) | | | $ | 96,654 | | | $ | (212) | |
|