XML 20 R6.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY - USD ($)
$ in Thousands
Total
Cumulative Effect, Period of Adoption, Adjustment
Common Stock
Additional Paid-In Capital
Accumulated Other Comprehensive Income (Loss)
Accumulated Deficit
Accumulated Deficit
Cumulative Effect, Period of Adoption, Adjustment
Beginning balance, shares at Dec. 31, 2017     109,668,000        
Beginning balance at Dec. 31, 2017 $ 391,062   $ 110 $ 782,845 $ (282) $ (391,611)  
Increase (Decrease) in Stockholders' Equity [Roll Forward]              
Equity component of 2023 convertible senior notes, net of issuance costs 62,444     62,444      
Purchase of 2023 convertible senior notes capped call (39,227)     (39,227)      
Issuance of common stock upon exercise of stock options and ESPP, shares     3,459,000        
Issuance of common stock upon exercise of stock options and ESPP 29,113   $ 4 29,109      
Net issuance of common stock for settlement of RSUs, shares     3,322,000        
Net share settlement of equity awards (49,086)   $ 3 (49,089)      
Warrant exercises, shares     34,000        
Warrant exercises 0     0      
Repurchase of common stock, shares     (983,000)        
Repurchase of common stock (20,000)   $ (1) (19,999)      
Share-based compensation expense 52,030     52,030      
Other comprehensive loss (737)       (737)    
Net loss (14,888)         (14,888)  
Ending balance at Dec. 31, 2018 $ 410,634 $ (77) $ 116 818,113 (1,019) (406,576) $ (77)
Ending balance, shares at Dec. 31, 2018     115,500,000        
Increase (Decrease) in Stockholders' Equity [Roll Forward]              
Accounting Standards Update [Extensible List] us-gaap:AccountingStandardsUpdate201602Member            
Equity component of 2023 convertible senior notes, net of issuance costs $ 206,747     206,747      
Purchase of 2023 convertible senior notes capped call (97,200)     (97,200)      
Issuance of common stock upon exercise of stock options and ESPP, shares     3,276,000        
Issuance of common stock upon exercise of stock options and ESPP 35,097   $ 4 35,093      
Net issuance of common stock for settlement of RSUs, shares     3,248,000        
Net share settlement of equity awards (94,568)   $ 3 (94,571)      
Issuance of common stock in connection with prior acquisition, shares     64,000        
Issuance of common stock in connection with prior acquisition 3,003     3,003      
Repurchase of common stock, shares     (504,000)        
Repurchase of common stock (20,000)   $ (1) (19,999)      
Share-based compensation expense 64,909     64,909      
Other comprehensive loss (77)       (77)    
Net loss (9,605)         (9,605)  
Ending balance at Dec. 31, 2019 $ 498,829 (111) $ 122 916,095 (1,096) (416,292) (111)
Ending balance, shares at Dec. 31, 2019 121,583,501   121,584,000        
Increase (Decrease) in Stockholders' Equity [Roll Forward]              
Accounting Standards Update [Extensible List] us-gaap:AccountingStandardsUpdate201613Member            
Equity component of 2023 convertible senior notes, net of issuance costs $ 237,462     237,462      
Purchase of 2023 convertible senior notes capped call (103,400)     (103,400)      
Equity component related to conversions of 2023 convertible senior notes (442,667)     (442,667)      
Issuance of common stock upon conversion of 2023 convertible senior notes, shares     4,182,000        
Issuance of common stock upon conversion of 2023 convertible senior notes 327,141   $ 4 327,137      
Proceeds from capped call related to conversions of 2023 convertible senior notes 77,095     77,095      
Issuance of common stock upon exercise of stock options and ESPP, shares     1,154,000        
Issuance of common stock upon exercise of stock options and ESPP 15,481   $ 1 15,480      
Net issuance of common stock for settlement of RSUs, shares     2,424,000        
Net share settlement of equity awards (80,678)   $ 2 (80,680)      
Share-based compensation expense 84,055     84,055      
Other comprehensive loss 2,626       2,626    
Net loss (6,221)         (6,221)  
Ending balance at Dec. 31, 2020 $ 609,635 $ (88) $ 129 $ 1,030,577 $ 1,530 $ (422,601) $ (88)
Ending balance, shares at Dec. 31, 2020 129,343,524   129,344,000