v3.26.1
Segment Information (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Jul. 31, 2024
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items]        
Total revenue   $ 1,475,363 $ 1,202,459 $ 980,497
Total cost of revenue   527,995 450,406 397,136
Gross profit   947,368 752,053 583,361
Amortization of intangible assets   6,700 5,400 5,500
Total operating expenses   797,494 710,985 635,934
Income (loss) from operations   149,874 41,068 (52,573)
Changes in fair value of strategic investment   489 (2,130) (1,957)
Gains (losses) on sale of strategic investment   632 3,671 1,803
Retirement of debt   0 (53,565) 0
Income (loss) before provision for (benefit from) income taxes   164,117 49,395 (26,838)
Provision for (benefit from) income taxes   24,834 (20,409) (20,735)
Net income (loss) $ (6,103) 139,283 69,804 (6,103)
Reportable Segment        
Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items]        
Total revenue   1,475,363 1,202,459 980,497
Adjusted cost of revenue   485,367 413,303 362,572
Stock-based compensation expense   38,396 34,848 32,624
Amortization of intangible assets   4,232 2,255 1,940
Total cost of revenue   527,995 450,406 397,136
Gross profit   $ 947,368 $ 752,053 $ 583,361
Gross profit margin   64.00% 63.00% 59.00%
Adjusted operating expenses   $ 650,112 $ 580,911 $ 518,427
Stock-based compensation expense   143,403 126,708 113,836
Amortization of intangible assets   2,469 3,189 3,528
Acquisition holdback expense   1,510 177 143
Total operating expenses   797,494 710,985 635,934
Income (loss) from operations   $ 149,874 $ 41,068 $ (52,573)
Income (loss) from operations margin   10.00% 3.00% (5.00%)
Adjusted interest income (expense) and other income (expense), net   $ 39,522 $ 47,366 $ 38,460
Changes in fair value of strategic investment   489 (2,130) (1,957)
Gains (losses) on sale of strategic investment   632 3,671 1,803
Amortization of debt issuance cost   (3,939) (3,758) (1,732)
Retirement of debt   0 (53,565) 0
Unrealized foreign exchange rate gains (losses)   (22,462) 16,743 (10,839)
Provision for (benefit from) income taxes   $ 24,834 $ (20,409) $ (20,735)