XML 50 R32.htm IDEA: XBRL DOCUMENT v3.19.3
Nature of the Business and Liquidity (Details)
$ in Thousands
9 Months Ended
Oct. 31, 2019
USD ($)
Sep. 30, 2019
USD ($)
segment
product
Dec. 31, 2018
USD ($)
Sep. 30, 2018
USD ($)
Summary of Significant Accounting Policies Details [Line Items]        
Segments | segment   1    
Accumulated deficit   $ 116,176 $ 96,350  
Principal amount of outstanding borrowings   174,100    
Cash and cash equivalents   6,707 $ 9,705 $ 15,267
Delayed Draw Term Loan A        
Summary of Significant Accounting Policies Details [Line Items]        
Line of credit maximum borrowing capacity   $ 10,000    
Convertible Notes Payable | Series B Senior Unsecured Convertible Notes | Subsequent Event        
Summary of Significant Accounting Policies Details [Line Items]        
Gross cash proceeds $ 34,400      
Net proceeds from the offering $ 27,300      
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