XML 58 R43.htm IDEA: XBRL DOCUMENT v3.19.1
Nature of the Business and Liquidity (Details)
1 Months Ended 12 Months Ended
Jan. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
product
segment
Dec. 31, 2017
USD ($)
Dec. 31, 2016
USD ($)
Business Combination Segment Allocation [Line Items]        
Operating segments | segment   1    
Cash and cash equivalents   $ 9,705,000 $ 26,692,000 $ 66,006,000
Proceeds from 2021 revolver   15,000,000 $ 0 $ 0
2023 Notes | Convertible debt        
Business Combination Segment Allocation [Line Items]        
Amount still available on loan agreements   25,000,000.0    
Revolving Credit Facility        
Business Combination Segment Allocation [Line Items]        
Remaining borrowing capacity   $ 10,000,000.0    
Revolving Credit Facility | Subsequent Event        
Business Combination Segment Allocation [Line Items]        
Proceeds from 2021 revolver $ 5,000,000.0      
US        
Business Combination Segment Allocation [Line Items]        
Generic products marketed | product   35    
Branded generic products marketed | product   4    
CANADA        
Business Combination Segment Allocation [Line Items]        
Generic and branded generic products marketed | product   27