XML 60 R48.htm IDEA: XBRL DOCUMENT v3.20.4
DEBT - Summary of Interest Expense (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Jan. 31, 2021
Jan. 31, 2020
Interest Expense, Debt [Line Items]        
Debt instrument, interest expense $ 600 $ 701 $ 1,178 $ 1,390
SPHG Holdings | Interest expense related to contractual interest coupon        
Interest Expense, Debt [Line Items]        
Debt instrument, interest expense 287 280 573 560
SPHG Holdings | Interest expense related to accretion of the discount        
Interest Expense, Debt [Line Items]        
Debt instrument, interest expense $ 313 $ 421 $ 605 $ 830