XML 73 R58.htm IDEA: XBRL DOCUMENT v3.21.2
Debt - Schedule of Long Term Debt (Details) - USD ($)
$ in Thousands
Jul. 31, 2021
Jul. 31, 2020
Debt Instrument [Line Items]    
Debt issuance costs $ (563) $ (1,025)
Current maturities of long-term debt (11,324) (13,430)
Long-term debt 114,625 125,844
Long-Term Debt, Excluding Lines Of Credit    
Debt Instrument [Line Items]    
Long-term debt, gross 126,512 140,299
First Lien Loan Agreement | Term Loan    
Debt Instrument [Line Items]    
Long-term debt, gross 117,637 125,158
First Lien Loan Agreement | Capital expenditure loan    
Debt Instrument [Line Items]    
Long-term debt, gross 8,875 15,141
Revolving Credit Facility | First Lien Loan Agreement | Line of Credit    
Debt Instrument [Line Items]    
Long-term debt, gross 124,000 243,500
Debt issuance costs (2,652) (3,826)
Long-term debt $ 121,348 $ 239,674