XML 62 R50.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Capitalization (Details) - USD ($)
12 Months Ended
Jul. 31, 2017
Dec. 31, 2017
Dec. 31, 2016
Debt Instrument [Line Items]      
Extinguishment of debt $ 11,562,000    
Proceeds from issuance of debt 2,200,000    
Payment of debt extinguishment or debt repayment with cash on hand $ 350,000    
Gain on extinguishment of debt   $ 9,045,000 $ 0
Write-off of debt discount   $ 89,000  
Treasury stock shares acquired net of reissued (in shares) 404,587    
Treasury stock acquired, net of reissued $ 121,376    
Promissory Note | SRS Note      
Debt Instrument [Line Items]      
Extinguishment of debt $ 2,562,000    
Share price (in dollars per share) $ 0.30