XML 104 R68.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Additional Information (Detail)
3 Months Ended 12 Months Ended
Sep. 29, 2017
USD ($)
$ / shares
shares
Jun. 14, 2017
USD ($)
shares
Mar. 31, 2017
USD ($)
Dec. 31, 2017
USD ($)
Lease
$ / shares
shares
Dec. 31, 2016
USD ($)
Debt Instrument [Line Items]          
Total Debt       $ 1,981,000 $ 41,807,000
Mortgage payment extended date       Jul. 30, 2018  
Future minimum principal payment       $ 1,300,000  
Convertible bonds   $ 24,000,000     16,129,000
Amount converted to common stock   68,000,000   98,929,000  
Convertible debt carrying value   $ 55,800,000      
Shares issued in conversion | shares   7,727,273      
Convertible debt fair value       13,200,000 8,300,000
Loss due to changes in the derivative liability       15,400,000 500,000
Convertible bonds outstanding       $ 0  
Number of capital leases | Lease       3  
IPO          
Debt Instrument [Line Items]          
Common stock share price | $ / shares       $ 11.00  
Common Stock | IPO          
Debt Instrument [Line Items]          
Common stock share price | $ / shares       $ 11.00  
Convertible Bonds          
Debt Instrument [Line Items]          
Convertible debt carrying value   $ 55,800,000      
Convertible bonds, aggregate principal value $ 7,000,000 $ 68,000,000      
Common stock discount rate 20.00%        
Convertible Bonds | Common Stock          
Debt Instrument [Line Items]          
Shares issued upon conversion | shares 795,455 7,727,273      
Convertible Bonds | Common Stock | IPO          
Debt Instrument [Line Items]          
Shares issued upon conversion | shares       8,522,728  
Common stock share price | $ / shares $ 11        
License Agreement | Hanmi          
Debt Instrument [Line Items]          
Convertible bonds     $ 7,000,000    
License upfront fees payable     $ 7,000,000    
License Agreement | Hanmi | Bond          
Debt Instrument [Line Items]          
Interest rate     10.00%    
Promissory note maturity, ending date     Oct. 01, 2018    
License Agreement | Hanmi | Convertible Bonds          
Debt Instrument [Line Items]          
Convertible bonds, aggregate principal value $ 7,000,000        
Common stock discount rate 20.00%        
License Agreement | Hanmi | Convertible Bonds | Common Stock          
Debt Instrument [Line Items]          
Shares issued upon conversion | shares 795,455        
License Agreement | Hanmi | Convertible Bonds | Common Stock | IPO          
Debt Instrument [Line Items]          
Common stock share price | $ / shares $ 11        
Convertible Bonds          
Debt Instrument [Line Items]          
Promissory note maturity, ending date       Oct. 01, 2018  
Convertible bonds issued by company       $ 75,000,000 $ 75,000,000
Promissory Note          
Debt Instrument [Line Items]          
Promissory note maturity term       36 months  
Interest rate       6.00%  
Promissory note maturity, ending date       Jun. 01, 2018