XML 22 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY - USD ($)
$ in Thousands
Total
Cumulative Effect, Period of Adoption, Adjustment
Common Stock
Additional Paid-In Capital
Additional Paid-In Capital
Cumulative Effect, Period of Adoption, Adjustment
Accumulated Other Comprehensive (Loss) Income
Accumulated Deficit
Accumulated Deficit
Cumulative Effect, Period of Adoption, Adjustment
Beginning balance (in shares) at Dec. 31, 2018     115,500,000          
Beginning balance at Dec. 31, 2018 $ 410,634 $ (111) $ 116 $ 818,113   $ (1,019) $ (406,576) $ (111)
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Equity component of 2025/2026 convertible senior notes, net of issuance costs 206,747     206,747        
Purchase of 2025/2026 convertible senior notes capped call (97,200)     (97,200)        
Repurchase of common stock (in shares)     (504,000)          
Repurchase of common stock (20,000)   $ (1) (19,999)        
Issuance of common stock upon exercise of stock options and ESPP (in 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 (in shares)     3,248,000          
Net share settlement of equity awards (94,568)   $ 3 (94,571)        
Issuance of common stock in connection with prior acquisition (in shares)     64,000          
Issuance of common stock in connection with prior acquisition 3,003     3,003        
Share-based compensation expense 64,909     64,909        
Other comprehensive loss (77)         (77)    
Net loss (9,605)           (9,605)  
Ending balance (in shares) at Dec. 31, 2019     121,584,000          
Ending balance at Dec. 31, 2019 $ 498,829 (88) $ 122 916,095   (1,096) (416,292) (88)
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Accounting Standards Update [Extensible List] Accounting Standards Update 2016-13 [Member]              
Equity component of 2025/2026 convertible senior notes, net of issuance costs $ 237,462     237,462        
Purchase of 2025/2026 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 (in shares)     4,182,000          
Issuance of common stock upon conversion of 2023 convertible senior notes 327,141   $ 4 327,137        
Net proceeds from capped call related to conversions and extinguishments of 2023 notes and 2025 notes 77,095     77,095        
Issuance of common stock upon exercise of stock options and ESPP (in 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 (in 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 (in shares) at Dec. 31, 2020 129,343,524   129,344,000          
Ending balance at Dec. 31, 2020 $ 609,635 $ (378,138) $ 129 1,030,577 $ (465,006) 1,530 (422,601) $ 86,868
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Accounting Standards Update [Extensible List] Accounting Standards Update 2020-06              
Repurchase of common stock (in shares)     (8,403,000)          
Repurchase of common stock $ (300,000)   $ (8) (299,992)        
Issuance of common stock in connection with follow-on offering, net of offering costs (in shares)     10,975,000          
Issuance of common stock in connection with follow-on offering, net of offering costs 1,091,466   $ 11 1,091,455        
Equity component related to conversions of 2023 convertible senior notes (236,921)     (236,921)        
Issuance of common stock upon conversion of 2023 convertible senior notes (in shares)     2,983,000          
Issuance of common stock upon conversion of 2023 convertible senior notes 235,521   $ 3 235,518        
Net proceeds from capped call related to conversions and extinguishments of 2023 notes and 2025 notes 67,770     67,770        
Issuance of common stock upon exercise of stock options and ESPP (in shares)     413,000          
Issuance of common stock upon exercise of stock options and ESPP 8,885     8,885        
Net issuance of common stock for settlement of RSUs (in shares)     1,640,000          
Net share settlement of equity awards (94,421)   $ 2 (94,423)        
Share-based compensation expense 111,442     111,442        
Other comprehensive loss (6,864)         (6,864)    
Net loss $ (1,458)           (1,458)  
Ending balance (in shares) at Dec. 31, 2021 136,951,956   136,952,000          
Ending balance at Dec. 31, 2021 $ 1,106,917   $ 137 $ 1,449,305   $ (5,334) $ (337,191)