XML 42 R31.htm IDEA: XBRL DOCUMENT v3.19.2
Nature of the Business and Liquidity (Details)
3 Months Ended 6 Months Ended
Jun. 30, 2019
USD ($)
Jun. 30, 2018
USD ($)
Jun. 30, 2019
USD ($)
product
segment
Jun. 30, 2018
USD ($)
Dec. 31, 2018
USD ($)
Dec. 13, 2018
USD ($)
Summary of Significant Accounting Policies Details [Line Items]            
Segments | segment     1      
Cash and cash equivalents $ 4,121,000 $ 13,675,000 $ 4,121,000 $ 13,675,000 $ 9,705,000  
Investment In manufacturing facility 5,100,000   5,100,000      
Accumulated deficit 109,063,000   109,063,000   96,350,000  
Net loss 3,989,000 $ 13,119,000 12,713,000 17,921,000    
Net cash used in operating activities     10,288,000 $ 12,510,000    
Convertible Notes Payable | 2023 Notes            
Summary of Significant Accounting Policies Details [Line Items]            
Amount still available on loan agreements 25,000,000.0   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   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 25,000,000   25,000,000   15,000,000  
Line of Credit | Term Loan | 2023 Term Loan            
Summary of Significant Accounting Policies Details [Line Items]            
Face amount of the Notes 74,228,000   74,228,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   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   $ 15,000,000.0      
United States            
Summary of Significant Accounting Policies Details [Line Items]            
Generic products marketed | product     36      
Branded generic products marketed | product     4      
Canada            
Summary of Significant Accounting Policies Details [Line Items]            
Generic and branded products marketed | product     32