XML 66 R53.htm IDEA: XBRL DOCUMENT v3.21.2
DEBT - Summary of Interest Expense (Details) - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Interest Expense, Debt [Line Items]    
Debt instrument, interest expense $ 672 $ 578
SPHG Holdings | Interest expense related to contractual interest coupon    
Interest Expense, Debt [Line Items]    
Debt instrument, interest expense 286 286
SPHG Holdings | Interest expense related to accretion of the discount    
Interest Expense, Debt [Line Items]    
Debt instrument, interest expense $ 386 $ 292