v3.23.1
Subsequent event (Details) - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2023
Mar. 10, 2023
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2020
Subsequent Event [Line Items]          
Cash and cash equivalents $ 176,683   $ 313,812 $ 218,781 $ 90,315
Third SVB Facility          
Subsequent Event [Line Items]          
Number of months with sufficient funds to operate (in months) 12 months        
Subsequent event | Third SVB Facility          
Subsequent Event [Line Items]          
Cash and cash equivalents   $ 170,000      
Subsequent event | Third SVB Facility | Revolving credit facility          
Subsequent Event [Line Items]          
Allowable cash hold outside of facility   $ 165,000