v3.23.3
Income taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Oct. 31, 2023
Oct. 31, 2022
Oct. 31, 2023
Oct. 31, 2022
Jan. 31, 2023
Income Tax Disclosure [Abstract]          
Income tax provision (benefit) $ 6,414 $ (4,539) $ 15,975 $ (12,170)  
Effective tax rate (as a percent) 30.40% 73.40% 35.20% 31.90%  
Gross unrecognized tax benefits $ 13,800   $ 13,800   $ 8,700
Unrecognized tax benefits that would impact the effective tax rate $ 10,300   $ 10,300