Fair Value Measurements (Tables)
3 Months Ended
Oct. 31, 2020
Fair Value Disclosures [Abstract]  
Schedule of fair values of financial instruments measured on a recurring basis
The fair values of our financial instruments measured on a recurring basis were categorized as follows:
 October 31, 2020
 Level 1Level 2Level 3Total
Cash and cash equivalents:
Money markets$106 $— $— $106 
Total assets$106 $— $— $106 
Accrued expenses:
Interest rate swap$— $5,465 $— $5,465 
Contingent consideration— — — — 
Other long-term liabilities:
Interest rate swap— 14,654 — 14,654 
Total liabilities$— $20,119 $— $20,119 
 July 31, 2020
 Level 1Level 2Level 3Total
Cash and cash equivalents:
Money markets$106 $— $— $106 
Total assets$106 $— $— $106 
Accrued expenses:
Interest rate swap$— $5,462 $— $5,462 
Other long-term liabilities:
Interest rate swap— 15,694 — 15,694 
Total liabilities$— $21,156 $— $21,156