XML 77 R52.htm IDEA: XBRL DOCUMENT v3.20.1
DEBT - Net Carrying Value of the Notes (Detail) - USD ($)
3 Months Ended 6 Months Ended
Dec. 15, 2017
Jan. 31, 2020
Jan. 31, 2020
Jul. 31, 2019
Feb. 28, 2019
Interest Expense, Debt [Line Items]          
Line of credit, current   $ 6,000,000 $ 6,000,000 $ 6,000,000  
Carrying amount of equity component   $ 8,200,000 $ 8,200,000 8,200,000  
Debt instrument, interest rate, effective percentage   18.47% 18.47%    
Unused line of credit fee   0.50% 0.50%    
Term Loan          
Interest Expense, Debt [Line Items]          
Principal amount outstanding   $ 387,065,000 $ 387,065,000 390,065,000  
Unamortized debt discount   (753,000) (753,000) (888,000)  
Net carrying value of the term loan   379,634,000 379,634,000 381,669,000  
Convertible Senior Note          
Interest Expense, Debt [Line Items]          
Principal amount outstanding   14,940,000 14,940,000 14,940,000  
SPHG Holdings          
Interest Expense, Debt [Line Items]          
Debt instrument, interest expense   701,000 1,390,000    
SPHG Holdings | Coupon Interest          
Interest Expense, Debt [Line Items]          
Debt instrument, interest expense   280,000 560,000    
SPHG Holdings | Accretion          
Interest Expense, Debt [Line Items]          
Debt instrument, interest expense   421,000 830,000    
SPHG Holdings | Convertible Senior Note          
Interest Expense, Debt [Line Items]          
Net carrying value of the term loan   8,262,000 8,262,000 7,432,000  
SPHG Holdings | 7.50% Convertible Senior Debt          
Interest Expense, Debt [Line Items]          
Principal amount   14,940,000 14,940,000 14,940,000 $ 14,940,000
Cerberus Credit Facility          
Interest Expense, Debt [Line Items]          
Principal amount outstanding   372,125,000 372,125,000 375,125,000  
Line of credit facility, term 5 years        
Credit facility, readily available borrowing capacity   19,000,000 19,000,000    
Cerberus Credit Facility | Line of Credit          
Interest Expense, Debt [Line Items]          
Line of credit, current   6,000,000 6,000,000 6,000,000  
Line of credit facility, maximum credit commitment   19,000,000 19,000,000    
Cerberus Credit Facility | Term Loan          
Interest Expense, Debt [Line Items]          
Principal amount outstanding   372,125,000 372,125,000 375,125,000  
Unamortized debt discount   (753,000) (753,000) (888,000)  
Net carrying value of the term loan   $ 371,372,000 371,372,000 $ 374,237,000  
MidCap Credit Facility          
Interest Expense, Debt [Line Items]          
Debt instrument, percentage points added to the reference rate   4.00%      
Line of credit facility, term   3 years      
Line of credit facility, maximum credit commitment   $ 12,500,000.0 12,500,000.0    
Credit facility, readily available borrowing capacity   6,817,000 6,817,000    
MidCap Credit Facility | Letter Of Credit Sublimit          
Interest Expense, Debt [Line Items]          
Line of credit facility, maximum credit commitment   5,000,000.0 5,000,000.0    
MidCap Credit Facility | Inventory Sublimit          
Interest Expense, Debt [Line Items]          
Line of credit facility, maximum credit commitment   $ 4,500,000.0 $ 4,500,000.0