XML 67 R56.htm IDEA: XBRL DOCUMENT v3.19.1
STOCKHOLDERS' EQUITY - Additional Information (Detail)
$ / shares in Units, $ in Thousands
9 Months Ended
Dec. 15, 2017
USD ($)
day
$ / shares
shares
Apr. 30, 2019
USD ($)
$ / shares
shares
Apr. 30, 2018
USD ($)
Jul. 31, 2018
$ / shares
shares
Equity [Line Items]        
Preferred stock, shares issued (in shares) | shares   0   0
Preferred stock, par value (in usd per share)   $ 0.01   $ 0.01
Proceeds from issuance of preferred stock | $   $ 0 $ 35,000  
Common stock, par value (in usd per share)   $ 0.01   $ 0.01
Series C Convertible Preferred Stock        
Equity [Line Items]        
Common stock, par value (in usd per share) $ 0.01      
Convertible preferred stock conversion price per share (in usd per share) $ 1.96      
Preferred stock, dividend rate, percentage 6.00%      
Percentage threshold closing sale price of common stock higher than conversion price 170.00%      
Series C Convertible Preferred Stock | Minimum        
Equity [Line Items]        
Trading days | day 5      
Purchase Agreement | SPHG Holdings | Series C Convertible Preferred Stock        
Equity [Line Items]        
Preferred stock, shares issued (in shares) | shares 35,000      
Preferred stock, par value (in usd per share) $ 0.01      
Price per share (in usd per share) $ 1,000      
Proceeds from issuance of preferred stock | $ $ 35,000      
Preferred stock preference, percentage of stated value 100.00%      
Preferred stock preference, percentage of declared but unpaid dividends 100.00%