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