Stock-Based Compensation - Stock-based Compensation Expense (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jan. 31, 2023 |
Jan. 31, 2022 |
Jan. 31, 2023 |
Jan. 31, 2022 |
|
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Total | $ 109,738 | $ 98,988 | $ 214,911 | $ 188,891 |
Cost of revenue | ||||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Total | 9,410 | 5,481 | 17,842 | 10,467 |
Sales and marketing | ||||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Total | 54,213 | 44,586 | 107,848 | 85,307 |
Research and development | ||||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Total | 29,005 | 28,626 | 53,536 | 55,885 |
General and administrative | ||||
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] | ||||
Total | $ 17,110 | $ 20,295 | $ 35,685 | $ 37,232 |