XML 46 R32.htm IDEA: XBRL DOCUMENT v3.10.0.1
Nature of the Business and Liquidity (Details)
3 Months Ended 6 Months Ended
Jul. 16, 2018
USD ($)
Jun. 01, 2018
USD ($)
May 04, 2018
USD ($)
Apr. 27, 2018
USD ($)
Jun. 30, 2018
USD ($)
product
segment
Jun. 30, 2017
USD ($)
Jun. 30, 2018
USD ($)
product
segment
Jun. 30, 2017
USD ($)
Dec. 31, 2017
USD ($)
[1]
Dec. 16, 2014
Summary of Significant Accounting Policies Details [Line Items]                    
Segments | segment         1   1      
Net loss         $ (20,716,000) $ (919,000) $ (25,518,000) $ (88,000)    
Net decrease in cash, cash equivalents and restricted cash             12,478,000 $ 16,326,000    
Accumulated deficit         (85,612,000)   (85,612,000)   $ (60,094,000)  
Investments             12,300,000      
Shelf offering     $ 50,000,000              
Prior period reclassification adjustment         $ 400,000   $ 300,000      
United States                    
Summary of Significant Accounting Policies Details [Line Items]                    
Generic products marketed | product         28          
Branded generic products marketed | product         4          
Number of products, launched | product             5      
Minimum | Canada                    
Summary of Significant Accounting Policies Details [Line Items]                    
Generic and branded products marketed | product         30          
Convertible Note 2019                    
Summary of Significant Accounting Policies Details [Line Items]                    
Stated interest rate         3.75%   3.75%   3.75%  
Debt, transfer       $ 75,100,000            
Face amount of the Notes         $ 68,660,000   $ 68,660,000   $ 143,750,000  
Convertible Note 2023                    
Summary of Significant Accounting Policies Details [Line Items]                    
Stated interest rate         4.75%   4.75%   4.75%  
Face amount of the Notes         $ 75,090,000   $ 75,090,000      
Term Loan 2021                    
Summary of Significant Accounting Policies Details [Line Items]                    
Face amount of the Notes   $ 25,000,000     $ 15,000,000   $ 15,000,000      
Proceeds from lines of credit   $ 15,000,000                
Subsequent Event | Term Loan 2021                    
Summary of Significant Accounting Policies Details [Line Items]                    
Proceeds from lines of credit $ 10,000,000                  
Convertible Notes Payable | Convertible Note 2019                    
Summary of Significant Accounting Policies Details [Line Items]                    
Stated interest rate         3.75%   3.75%     3.75%
Debt, transfer             $ 75,100,000      
Convertible Notes Payable | Convertible Note 2023                    
Summary of Significant Accounting Policies Details [Line Items]                    
Stated interest rate       4.75% 4.75%   4.75%      
Debt, transfer       $ 75,100,000     $ 75,100,000      
[1] Derived from the audited December 31, 2017 financial statement