XML 59 R45.htm IDEA: XBRL DOCUMENT v3.10.0.1
Nature of the Business and Liquidity (Details)
1 Months Ended 3 Months Ended 6 Months Ended
Jul. 16, 2018
USD ($)
Jun. 01, 2018
USD ($)
May 04, 2018
USD ($)
Apr. 27, 2018
USD ($)
Apr. 30, 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 ($)
Dec. 16, 2014
Summary of Significant Accounting Policies Details [Line Items]                      
Segments | segment           1   1      
Cash and cash equivalents           $ 13,675,000   $ 13,675,000   $ 26,692,000  
Investments               12,500,000      
Accumulated deficit           (78,015,000)   (78,015,000)   $ (60,094,000)  
Net loss           $ (13,119,000) $ (919,000) (17,921,000) $ (88,000)    
Net decrease in cash, cash equivalents and restricted cash               $ 12,478,000 $ 16,326,000    
Shelf offering     $ 50,000,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       $ 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