XML 46 R35.htm IDEA: XBRL DOCUMENT v3.19.1
Nature of the Business and Liquidity (Details)
3 Months Ended
Mar. 31, 2019
USD ($)
product
segment
Jan. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
Dec. 13, 2018
USD ($)
Mar. 31, 2018
USD ($)
Summary of Significant Accounting Policies Details [Line Items]          
Segments | segment 1        
Cash and cash equivalents $ 6,397,000   $ 9,705,000   $ 12,762,000
2023 Term Loan          
Summary of Significant Accounting Policies Details [Line Items]          
Deferred interest expense 2,000,000.0        
Convertible Notes Payable | 2023 Notes          
Summary of Significant Accounting Policies Details [Line Items]          
Amount still available on loan agreements 25,000,000.0        
Convertible Notes Payable | Ares Credit Facility          
Summary of Significant Accounting Policies Details [Line Items]          
Amount still available on loan agreements 15,000,000.0        
Line of Credit | Revolving Credit Facility          
Summary of Significant Accounting Policies Details [Line Items]          
Line of credit maximum borrowing capacity       $ 25,000,000.0  
Face amount of the Notes 20,000,000   15,000,000    
Remaining borrowing capacity 5,000,000.0 $ 10,000,000.0      
Line of Credit | Term Loan | 2023 Term Loan          
Summary of Significant Accounting Policies Details [Line Items]          
Face amount of the Notes 72,020,000   $ 70,000,000 50,000,000.0  
Line of Credit | Term Loan | Delayed Draw Term Loan A          
Summary of Significant Accounting Policies Details [Line Items]          
Face amount of the Notes       30,000,000.0  
Amount still available on loan agreements 10,000,000.0        
Line of Credit | Term Loan | Delayed Draw Term Loan B          
Summary of Significant Accounting Policies Details [Line Items]          
Face amount of the Notes       $ 15,000,000.0  
Amount still available on loan agreements 15,000,000.0        
Revolving Credit Facility          
Summary of Significant Accounting Policies Details [Line Items]          
Remaining borrowing capacity $ 5,000,000.0        
United States          
Summary of Significant Accounting Policies Details [Line Items]          
Generic products marketed | product 34        
Branded generic products marketed | product 4        
Canada | Minimum          
Summary of Significant Accounting Policies Details [Line Items]          
Generic and branded products marketed | product 27