Consolidated Statements of Comprehensive Loss - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2022 |
Jan. 31, 2021 |
Jan. 31, 2020 |
|
| Statement Of Income And Comprehensive Income [Abstract] | |||
| Net loss | $ (26,411) | $ (59,786) | $ (44,792) |
| Other comprehensive income (loss), net of tax: | |||
| Net change and reclassification of unrealized gains (losses) on investments | (1,219) | 451 | 671 |
| Other comprehensive income (loss), net of tax | (1,219) | 451 | 671 |
| Comprehensive loss | $ (27,630) | $ (59,335) | $ (44,121) |