XML 71 R59.htm IDEA: XBRL DOCUMENT v3.21.2
LONG-TERM DEBT - 2017 Credit Agreement Issuance and Amendment Costs (Details) - USD ($)
$ in Thousands
1 Months Ended 6 Months Ended 12 Months Ended
Jun. 29, 2017
Apr. 30, 2021
Jul. 31, 2021
Jul. 31, 2020
Jan. 31, 2018
Apr. 09, 2021
Apr. 06, 2021
Debt Instrument [Line Items]              
Payments of debt issuance costs     $ 10,531 $ 2,207      
2017 Credit Agreement              
Debt Instrument [Line Items]              
Payments of debt issuance costs $ 6,800            
Debt restructuring costs incurred during period         $ 2,100    
Payments of debt restructuring costs         1,200    
Deferred debt restructuring costs         900    
2017 Term Loan              
Debt Instrument [Line Items]              
Payments of debt issuance costs 4,100            
Write off of deferred debt issuance cost         200    
Deferred debt restructuring costs         500    
Deferred debt issuance costs     1,800        
2017 Revolving Credit Facility              
Debt Instrument [Line Items]              
Payments of debt issuance costs $ 2,700            
Write off of deferred debt issuance cost     $ 500        
Deferred debt restructuring costs         $ 400    
Deferred debt issuance costs           $ 1,300  
Deferred debt issuance costs, associated with commitments             $ 800
2021 Revolving Credit Facility              
Debt Instrument [Line Items]              
Debt restructuring costs incurred during period   $ 1,500