Balance Sheet Components - Schedule of Accrued Compensation Benefits (Details) - USD ($)
$ in Thousands
Jan. 31, 2022
Jul. 31, 2021
Employee-related Liabilities, Current [Abstract]    
Contributions to ESPP withheld $ 28,634 $ 26,735
Accrued commissions 28,162 48,321
Accrued vacation 25,553 26,961
Payroll taxes payable 22,338 21,603
Accrued Wages and Taxes 12,675 1,675
Accrued bonus 12,378 14,878
Accrued benefits 10,646 10,243
Other 9,603 11,921
Total accrued compensation and benefits $ 149,989 $ 162,337