v3.19.3.a.u2
Consolidated Statement of Changes in Stockholders' Equity - USD ($)
$ in Thousands
Total
Common Stock
Additional Paid-In Capital
Accumulated Deficit
Accumulated Other Comprehensive Loss
Increase (Decrease) in Stockholders' Equity          
Cumulative-effect of accounting change     $ 148 $ (148)  
Adjusted balance $ 195,237 $ 47 371,603 (176,413) $ 0
Balance at Dec. 31, 2016 195,237 $ 47 371,455 (176,265) 0
Balance (in shares) at Dec. 31, 2016   47,151,635      
Increase (Decrease) in Stockholders' Equity          
Issuance of common stock in connection with a public offering of common stock, net of offering costs 189,456 $ 4 189,452    
Issuance of common stock award (in shares)   4,047,500      
Issuance of common stock in connection with settlement of restricted stock units, net of withholdings (1,309) $ 1 (1,310)    
Issuance of common stock in connection with settlement of restricted stock units, net of withholdings (in shares)   459,900      
Exercise of stock options 6,615 $ 1 6,614    
Exercise of stock options (in shares)   846,821      
Issuance of common stock in connection with employee stock purchase plan 21,930   21,930    
Net loss (29,423)     (29,423)  
Foreign currency translation adjustment 5,326     0 5,326
Balance at Dec. 31, 2017 387,832 $ 53 588,289 (205,836) 5,326
Balance (in shares) at Dec. 31, 2017   52,505,856      
Increase (Decrease) in Stockholders' Equity          
Issuance of common stock in connection with a public offering of common stock, net of offering costs 330,901 $ 4 330,897    
Issuance of common stock award (in shares)   3,833,334      
Issuance of common stock in connection with settlement of restricted stock units, net of withholdings (3,451) $ 0 (3,451)    
Issuance of common stock in connection with settlement of restricted stock units, net of withholdings (in shares)   553,159      
Exercise of stock options 7,366 $ 1 7,365    
Exercise of stock options (in shares)   1,012,473      
Issuance of common stock in connection with employee stock purchase plan 31,410   31,410    
Issuance of common stock in connection with employee stock purchase plan 3,121   3,121    
Issuance of common stock in connection with employee stock purchase plan (in shares)   63,671      
Net loss (38,330)     (38,330)  
Foreign currency translation adjustment (13,840)       (13,840)
Balance at Dec. 31, 2018 $ 705,009 $ 58 957,631 (244,166) (8,514)
Balance (in shares) at Dec. 31, 2018 57,968,493 57,968,493      
Increase (Decrease) in Stockholders' Equity          
Issuance of common stock in connection with a public offering of common stock, net of offering costs $ 184,322 $ 5 184,317    
Issuance of common stock award (in shares)   4,608,101      
Issuance of common stock in connection with settlement of restricted stock units, net of withholdings (2,574)   (2,574)    
Issuance of common stock in connection with settlement of restricted stock units, net of withholdings (in shares)   502,795      
Exercise of stock options 3,119   3,119    
Exercise of stock options (in shares)   361,134      
Issuance of common stock in connection with employee stock purchase plan 51,504   51,504    
Issuance of common stock in connection with employee stock purchase plan 3,382   3,382    
Issuance of common stock in connection with employee stock purchase plan (in shares)   123,365      
Issuance of common stock award (in shares)   5,221      
Net loss (235,222)     (235,222)  
Foreign currency translation adjustment 1,710       1,710
Balance at Dec. 31, 2019 $ 711,250 $ 63 $ 1,197,379 $ (479,388) $ (6,804)
Balance (in shares) at Dec. 31, 2019 63,569,109 63,569,109