XML 62 R49.htm IDEA: XBRL DOCUMENT v3.20.2
DEBT - Summary of Interest Expense (Detail) - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2020
Oct. 31, 2019
Interest Expense, Debt [Line Items]    
Debt instrument, interest expense $ 578 $ 689
SPHG Holdings | Interest expense related to contractual interest coupon    
Interest Expense, Debt [Line Items]    
Debt instrument, interest expense 286 280
SPHG Holdings | Interest expense related to accretion of the discount    
Interest Expense, Debt [Line Items]    
Debt instrument, interest expense $ 292 $ 409