XML 93 R79.htm IDEA: XBRL DOCUMENT v3.22.2.2
INCOME TAXES - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Income Tax [Line Items]        
Valuation allowance   $ 52,354    
Unrecognized tax benefits that, if recognized, would affect the company's income tax rate   14,461 $ 13,631 $ 11,606
Accrued interest and penalties   2,867 2,967  
Total amount of interest and penalties expense (benefit) recognized   134 $ 238 $ 544
Expected decrease in unrecognized tax benefits due to resolution of uncertain tax positions   4,100    
Forecast        
Income Tax [Line Items]        
Expected decrease in interest due to resolution of uncertain tax positions $ 900      
State and Local Jurisdiction        
Income Tax [Line Items]        
Tax credit carry forward   1,398    
Gross state tax net operating loss carry forwards   $ 5,033    
State and Local Jurisdiction | Earliest Tax Year        
Income Tax [Line Items]        
Gross state tax net operating loss carry forwards, expiration year   2023    
State and Local Jurisdiction | Latest Tax Year        
Income Tax [Line Items]        
Gross state tax net operating loss carry forwards, expiration year   2042    
Foreign Tax Authority        
Income Tax [Line Items]        
Gross state tax net operating loss carry forwards   $ 81,626    
Foreign Tax Authority | Earliest Tax Year        
Income Tax [Line Items]        
Gross state tax net operating loss carry forwards, expiration year   2023