The following tables summarize the Company's investments in marketable securities: | | | | | | | | | | | | | | | | | | | | | | | | | April 30, 2023 | | (in thousands) | Amortized Cost | | Unrealized Gains | | Unrealized Losses | | Fair Value | | Money market funds | 50,407 | | | $ | — | | | $ | — | | | $ | 50,407 | | | U.S. treasury securities | 93,403 | | | — | | | (13) | | | 93,390 | | | Total marketable securities | $ | 143,810 | | | $ | — | | | $ | (13) | | | $ | 143,797 | | | | | | | | | | | January 31, 2023 | | (in thousands) | Amortized Cost | | Unrealized Gains | | Unrealized Losses | | Fair Value | | Money market funds | $ | 68,165 | | | $ | — | | | $ | — | | | $ | 68,165 | | | U.S. treasury securities | 40,372 | | | — | | | (9) | | | 40,363 | | | Total marketable securities | $ | 108,537 | | | $ | — | | | $ | (9) | | | $ | 108,528 | |
|