XML 51 R41.htm IDEA: XBRL DOCUMENT v3.7.0.1
Stockholders Equity - Additional Information (Details)
$ / shares in Units, $ in Thousands
6 Months Ended
Jun. 14, 2017
USD ($)
shares
Jun. 30, 2017
USD ($)
Plan
$ / shares
shares
Jun. 30, 2016
$ / shares
shares
Dec. 31, 2016
USD ($)
$ / shares
shares
Class Of Stock [Line Items]        
Common stock, shares authorized   250,000,000 250,000,000 250,000,000
Common stock, par value | $ / shares   $ 0.001 $ 0.001 $ 0.001
Common stock, voting rights   one vote per share    
Purchase of shares of common stock   16,000    
Costs incurred in raising equity | $ $ 11,700 $ 9,044    
Number of stock option plans | Plan   3    
2013, 2007 and 2004 Plans | Maximum        
Class Of Stock [Line Items]        
Common stock options authorized grant   11,800,000    
2017 Plans        
Class Of Stock [Line Items]        
Common stock reserved for future issuance   5,200,000    
Shares issued   0    
Common Stock        
Class Of Stock [Line Items]        
Sale of common stock, shares   6,900,000 1,133,332  
Convertible Bonds | Common Stock        
Class Of Stock [Line Items]        
Shares issued upon conversion 7,727,273      
IPO        
Class Of Stock [Line Items]        
Sale of common stock, shares   6,900,000    
Common stock share price | $ / shares   $ 11.00    
Shares from the exercise of warrants and options   406,386    
Vesting of restricted stock units and grant of shares   791,982    
Cumulative increase to equity shares value | $   $ 164,700    
Costs incurred in raising equity | $   $ 11,700    
IPO | 2017 Plans        
Class Of Stock [Line Items]        
Common stock reserved for future issuance   1,000,000    
IPO | Other Long-term Assets [Member]        
Class Of Stock [Line Items]        
Deferred costs | $       $ 1,800
IPO | Licensing Agreements        
Class Of Stock [Line Items]        
Sale of common stock, shares   568,182    
IPO | Common Stock        
Class Of Stock [Line Items]        
Common stock share price | $ / shares   $ 11.00    
IPO | Convertible Bonds | Common Stock        
Class Of Stock [Line Items]        
Shares issued upon conversion   7,727,273