XML 23 R7.htm IDEA: XBRL DOCUMENT v3.24.0.1
CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT) - USD ($)
$ in Thousands
Total
Adjustment
Common Stock (Class A and B)
Additional Paid-in-Capital
Additional Paid-in-Capital
Adjustment
Accumulated Other Comprehensive Income (Loss)
Accumulated Deficit
Accumulated Deficit
Adjustment
Beginning of the period (in shares) at Dec. 31, 2020     48,789,000          
Beginning of the period at Dec. 31, 2020 $ 64,277   $ 49 $ 478,698   $ 230 $ (414,700)  
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Stock-based compensation expense 48,633     48,633        
Issuance of common stock upon exercise of stock options (in shares)     1,141,000          
Issuance of common stock upon exercise of stock options 16,600   $ 2 16,598        
Issuance of common stock under employee stock purchase plan (in shares)     149,000          
Issuance of common stock under employee stock purchase plan 8,861     8,861        
Issuance of restricted stock units (in shares)     1,578,000          
Tax withholdings related to net share settlements of stock-based compensation awards (in shares)     (213,000)          
Tax withholdings related to net share settlements of stock-based compensation awards (27,144)     (27,144)        
Net loss (37,730)           (37,730)  
Other comprehensive income (loss) (518)         (518)    
End of the period (in shares) at Dec. 31, 2021     51,444,000          
End of the period at Dec. 31, 2021 $ 72,979 $ (40,299) $ 51 525,646 $ (58,560) (288) (452,430) $ 18,261
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Accounting Standards Update [Extensible List] Accounting Standards Update 2020-06 [Member]              
End of the period at Jan. 01, 2022         (58,600)     18,300
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Accounting Standards Update [Extensible List] Accounting Standards Update 2020-06 [Member]              
Beginning of the period (in shares) at Dec. 31, 2021     51,444,000          
Beginning of the period at Dec. 31, 2021 $ 72,979 $ (40,299) $ 51 525,646 $ (58,560) (288) (452,430) $ 18,261
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Stock-based compensation expense 70,660     70,660        
Issuance of common stock upon exercise of stock options (in shares)     239,000          
Issuance of common stock upon exercise of stock options 3,273   $ 1 3,272        
Issuance of common stock under employee stock purchase plan (in shares)     131,000          
Issuance of common stock under employee stock purchase plan 9,256   $ 1 9,255        
Issuance of restricted stock units (in shares)     958,000          
Tax withholdings related to net share settlements of stock-based compensation awards (in shares)     (120,000)          
Tax withholdings related to net share settlements of stock-based compensation awards (12,541)     (12,541)        
Net loss (90,947)           (90,947)  
Other comprehensive income (loss) (6,398)         (6,398)    
End of the period (in shares) at Dec. 31, 2022     52,652,000          
End of the period at Dec. 31, 2022 5,983   $ 53 537,732   (6,686) (525,116)  
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Induced conversion of convertible senior notes (81,080)     (81,080)        
Stock-based compensation expense $ 98,765     98,765        
Issuance of common stock upon exercise of stock options (in shares) 297,543   297,000          
Issuance of common stock upon exercise of stock options $ 4,472   $ 1 4,471        
Issuance of common stock under employee stock purchase plan (in shares)     200,000          
Issuance of common stock under employee stock purchase plan 12,513     12,513        
Issuance of restricted stock units (in shares)     1,129,000          
Tax withholdings related to net share settlements of stock-based compensation awards (in shares)     (99,000)          
Tax withholdings related to net share settlements of stock-based compensation awards (9,459)     (9,459)        
Net loss (127,525)           (127,525)  
Other comprehensive income (loss) 6,941         6,941    
End of the period (in shares) at Dec. 31, 2023     54,179,000          
End of the period at Dec. 31, 2023 $ (89,390)   $ 54 $ 562,942   $ 255 $ (652,641)