XML 101 R87.htm IDEA: XBRL DOCUMENT v3.22.2.2
STOCKHOLDERS' EQUITY - Stock-Based Compensation Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Stock Based Compensation And Stockholders Equity [Line Items]      
Total compensation expenses $ 31,421 $ 30,514 $ 19,889
Total unrecognized compensation costs $ 36,877    
Period for recognition of compensation cost not yet recognized 2 years 29 days    
Tax benefits from stock compensation expense $ 4,260 3,532 4,775
2016 Equity Incentive Plan      
Stock Based Compensation And Stockholders Equity [Line Items]      
Number of shares authorized under stock option plan (in shares) 3,600,000    
Number of shares available to be granted (in shares) 1,878,887    
Performance Shares (PSUs) | Share-based Payment Arrangement, Tranche One      
Stock Based Compensation And Stockholders Equity [Line Items]      
Award vesting rights, minimum percentage of target compensation (as a percent) 50.00%    
Performance Shares (PSUs) | Share-based Payment Arrangement, Tranche Three      
Stock Based Compensation And Stockholders Equity [Line Items]      
Award vesting rights, minimum percentage of target compensation (as a percent) 150.00%    
Performance Shares (PSUs) | Minimum | Share-based Payment Arrangement, Tranche Two      
Stock Based Compensation And Stockholders Equity [Line Items]      
Award vesting rights, minimum percentage of target compensation (as a percent) 50.00%    
Performance Shares (PSUs) | Maximum | Share-based Payment Arrangement, Tranche Two      
Stock Based Compensation And Stockholders Equity [Line Items]      
Award vesting rights, minimum percentage of target compensation (as a percent) 150.00%    
Restricted Stock Units (RSUs) and Performance Stock Units (PSUs)      
Stock Based Compensation And Stockholders Equity [Line Items]      
Total compensation expenses $ 31,421 30,514 19,889
Fair value of vested RSUs $ 48,204 $ 24,226 $ 10,906