Balance Sheet Components - Schedule of Accrued Compensation and Benefits (Details) - USD ($)
$ in Thousands
Jan. 31, 2022
Apr. 30, 2021
Balance Sheet Components [Abstract]    
Accrued vacation $ 25,532 $ 24,078
Accrued commissions 14,903 17,581
Accrued payroll taxes and withholding taxes 10,367 5,522
Other 5,379 5,344
Total accrued compensation and benefits $ 56,181 $ 52,525