XML 82 R71.htm IDEA: XBRL DOCUMENT v3.22.1
Stockholders' Equity (Details) - USD ($)
3 Months Ended 9 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Apr. 30, 2022
Apr. 30, 2021
Dec. 21, 2021
Equity [Abstract]          
Stock-based compensation $ 9,750,000 $ 8,366,000 $ 22,736,000 $ 21,424,000  
Stock repurchase program authorized amount         $ 250,000,000
Purchase of treasury shares (in shares) 499,106   1,090,067    
Average price of treasury shares acquired (in dollars per share) $ 80.12   $ 90.20    
Purchases of treasury shares $ 39,990,000   $ 98,321,000    
Remaining authorized repurchase amount $ 151,679,000   $ 151,679,000