Stockholders' Equity (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 6 Months Ended | ||||
|---|---|---|---|---|---|---|
Jan. 31, 2026 |
Jan. 31, 2025 |
Jan. 31, 2026 |
Jan. 31, 2025 |
Dec. 17, 2025 |
Jun. 18, 2025 |
|
| Equity, Class of Treasury Stock [Line Items] | ||||||
| Stock-based compensation expense | $ 7,947 | $ 8,073 | $ 18,897 | $ 18,610 | ||
| Purchase of common shares (in shares) | 242,731 | 292,966 | ||||
| Average price of treasury shares acquired (in dollars per share) | $ 103.95 | $ 103.36 | ||||
| Aggregate purchase price | $ 25,233 | $ 1,725 | $ 30,280 | $ 1,725 | ||
| Amended and Restated Equity and Incentive Plan | ||||||
| Equity, Class of Treasury Stock [Line Items] | ||||||
| Maximum number of shares issuable (in shares) | 2,800,000 | |||||
| Remaining shares available for grant (in shares) | 2,799,761 | 2,799,761 | ||||
| June Twenty Twenty Five Share Repurchase Plan | ||||||
| Equity, Class of Treasury Stock [Line Items] | ||||||
| Stock repurchase program authorized amount | $ 400 | |||||
| Remaining authorized repurchase amount | $ 349,020 | $ 349,020 | ||||