Stock-Based Compensation - Performance-based Restricted Stock Units (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended
Mar. 31, 2022
Apr. 30, 2023
Apr. 30, 2022
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Total stock-based compensation expense   $ 11,012 $ 18,086
Performance-based Restricted Stock Units      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Granted (in shares) 2,000,000    
Total stock-based compensation expense   900 $ 400
Unrecognized compensation cost   $ 7,600  
Unrecognized compensation cost, period for recognition (in years)   2 years 10 months 20 days