XML 75 R62.htm IDEA: XBRL DOCUMENT v3.10.0.1
Prior-Period Financial Statements - Stockholders' Equity (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Mar. 31, 2018
Dec. 31, 2015
Mar. 31, 2015
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Increase (Decrease) in Stockholders' Equity            
Balance       $ 316,464 $ 337,933  
Balance, revised   $ 164,911     316,464 $ 337,933
Sale of common stock, net of issuance cost       245,504   119,269
Issuance of common stock upon exercise of stock awards       7,617 2,797 1,160
Issuance of common stock under the Employee Stock Purchase Plan       1,120 936 545
Comprehensive income (loss)       (69,572) (38,853) 44,200
Stock-based compensation expense       20,548 13,651 7,848
Balance       521,681 316,464 337,933
As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance         316,433  
Sale of common stock, net of issuance cost           119,269
Issuance of common stock upon exercise of stock awards         2,797 1,160
Issuance of common stock under the Employee Stock Purchase Plan         936 545
Comprehensive income (loss)         (49,292) 22,700
Stock-based compensation expense         13,651 7,848
Balance           316,433
ASU 2014-09 | As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance       282,046    
Comprehensive income (loss)         (49,292) 22,700
Balance         282,046  
ASU 2014-09 | Effect of Adoption of ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance       34,418    
Adoption of new accounting principle           21,500
Comprehensive income (loss)         10,439 $ 21,500
Balance         34,418  
Common Stock            
Increase (Decrease) in Stockholders' Equity            
Balance       $ 470 $ 466  
Balance (in shares)       47,002,488 46,567,978 40,551,039
Balance, revised   405     $ 470 $ 466
Sale of common stock, net of issuance cost $ 245,500 $ 119,300 $ 115,200 $ 84   $ 53
Sale of common stock, net of issuance cost (in shares) 8,395,000 5,272,750 8,625,000 8,395,000   5,272,750
Issuance of common stock upon exercise of stock awards       $ 8 $ 4 $ 7
Issuance of common stock upon exercise of stock awards (in shares)       824,731 363,603 699,066
Issuance of common stock under the Employee Stock Purchase Plan       $ 1   $ 1
Issuance of common stock under the Employee Stock Purchase Plan (in shares)       57,323 70,907 45,123
Balance       $ 563 $ 470 $ 466
Balance (in shares)   40,551,039   56,279,542 47,002,488 46,567,978
Common Stock | As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance         $ 466  
Balance (in shares)         46,567,978  
Sale of common stock, net of issuance cost           $ 53
Sale of common stock, net of issuance cost (in shares)           5,272,750
Issuance of common stock upon exercise of stock awards         $ 4 $ 7
Issuance of common stock upon exercise of stock awards (in shares)         363,603 699,066
Issuance of common stock under the Employee Stock Purchase Plan           $ 1
Issuance of common stock under the Employee Stock Purchase Plan (in shares)         70,907 45,123
Balance           $ 466
Balance (in shares)           46,567,978
Additional Paid-in Capital            
Increase (Decrease) in Stockholders' Equity            
Balance       $ 570,670 $ 552,889  
Balance, revised   $ 424,128     570,670 $ 553,290
Sale of common stock, net of issuance cost       245,420   119,216
Issuance of common stock upon exercise of stock awards       7,609 2,793 1,153
Issuance of common stock under the Employee Stock Purchase Plan       1,119 936 544
Stock-based compensation expense       20,548 13,651 7,848
Balance       845,366 570,670 552,889
Additional Paid-in Capital | As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance         552,889  
Sale of common stock, net of issuance cost           119,216
Issuance of common stock upon exercise of stock awards         2,793 1,153
Issuance of common stock under the Employee Stock Purchase Plan         936 544
Stock-based compensation expense         13,651 7,848
Balance           552,889
Accumulated Other Comprehensive Loss            
Increase (Decrease) in Stockholders' Equity            
Balance       (1,808) (1,441)  
Balance, revised   (516)     (1,808) (1,441)
Comprehensive income (loss)       837 (367) (925)
Balance       (971) (1,808) (1,441)
Accumulated Other Comprehensive Loss | As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance         (1,441)  
Comprehensive income (loss)         (367) (925)
Balance           (1,441)
Accumulated Deficit            
Increase (Decrease) in Stockholders' Equity            
Balance       (252,868) (213,981)  
Balance, revised   (259,106)     (252,868) (214,382)
Comprehensive income (loss)       (70,409) (38,486) 45,125
Balance       (323,277) (252,868) (213,981)
Accumulated Deficit | As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance         (235,481)  
Comprehensive income (loss)         (48,925) 23,625
Balance           (235,481)
Accumulated Deficit | ASU 2014-09 | Effect of Adoption of ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Adoption of new accounting principle           21,500
Scenario, Previously Reported            
Increase (Decrease) in Stockholders' Equity            
Balance         337,933 162,432
Balance   162,432       337,933
Scenario, Previously Reported | As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance       306,025 313,954 162,432
Balance   162,432     306,025 313,954
Scenario, Previously Reported | Common Stock            
Increase (Decrease) in Stockholders' Equity            
Balance         $ 466 $ 405
Balance (in shares)         46,567,978 40,551,039
Balance   $ 405       $ 466
Balance (in shares)   40,551,039       46,567,978
Scenario, Previously Reported | Common Stock | As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance       $ 470 $ 466 $ 405
Balance (in shares)       47,002,488 46,567,978 40,551,039
Balance   $ 405     $ 470 $ 466
Balance (in shares)   40,551,039     47,002,488 46,567,978
Scenario, Previously Reported | Additional Paid-in Capital            
Increase (Decrease) in Stockholders' Equity            
Balance         $ 552,889 $ 424,128
Balance   $ 424,128       552,889
Scenario, Previously Reported | Additional Paid-in Capital | As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance       $ 570,670 552,889 424,128
Balance   424,128     570,670 552,889
Scenario, Previously Reported | Accumulated Other Comprehensive Loss            
Increase (Decrease) in Stockholders' Equity            
Balance         (1,441) (516)
Balance   (516)       (1,441)
Scenario, Previously Reported | Accumulated Other Comprehensive Loss | As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance       (1,808) (1,441) (516)
Balance   (516)     (1,808) (1,441)
Scenario, Previously Reported | Accumulated Deficit            
Increase (Decrease) in Stockholders' Equity            
Balance         (213,981) (261,585)
Balance   (261,585)       (213,981)
Scenario, Previously Reported | Accumulated Deficit | As Reported Before ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Balance       $ (263,307) (237,960) (261,585)
Balance   (261,585)     (263,307) (237,960)
Restatement Adjustment | Effect of Adoption of ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Adoption of new accounting principle   2,479        
Restatement Adjustment | ASU 2014-09            
Increase (Decrease) in Stockholders' Equity            
Adoption of new accounting principle   2,479        
Restatement Adjustment | ASU 2014-09 | Effect of Adoption of ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Adoption of new accounting principle         10,439 23,979
Restatement Adjustment | Additional Paid-in Capital | ASU 2016-09            
Increase (Decrease) in Stockholders' Equity            
Adoption of new accounting principle           401
Restatement Adjustment | Accumulated Deficit | Effect of Adoption of ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Adoption of new accounting principle   2,479        
Restatement Adjustment | Accumulated Deficit | ASU 2016-09            
Increase (Decrease) in Stockholders' Equity            
Adoption of new accounting principle           (401)
Restatement Adjustment | Accumulated Deficit | ASU 2014-09            
Increase (Decrease) in Stockholders' Equity            
Adoption of new accounting principle   $ 2,479        
Restatement Adjustment | Accumulated Deficit | ASU 2014-09 | Effect of Adoption of ASC Topic 606            
Increase (Decrease) in Stockholders' Equity            
Adoption of new accounting principle         $ 10,439 $ 23,979