Annual report pursuant to Section 13 and 15(d)

Stockholders??? Equity - Narrative (Details)

v3.24.0.1
Stockholders’ Equity - Narrative (Details) - USD ($)
1 Months Ended 2 Months Ended 12 Months Ended
Nov. 15, 2021
Nov. 30, 2022
Nov. 30, 2021
Oct. 31, 2021
Sep. 30, 2021
Jul. 31, 2021
Apr. 30, 2021
Sep. 30, 2014
Dec. 31, 2022
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Mar. 31, 2023
Nov. 01, 2022
Dec. 31, 2020
Sep. 30, 2016
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Common stock outstanding (in shares) 500,000,000               65,739,053 70,116,357 65,739,053          
Common stock par value (in dollars per share) $ 0.00001               $ 0.00001 $ 0.00001 $ 0.00001          
Preferred stock outstanding (in shares) 10,000,000                 0            
Preferred stock par value (in dollars per share) $ 0.00001               $ 0.00001 $ 0.00001 $ 0.00001          
Equity-based compensation expense                   $ 22,823,000 $ 18,752,000 $ 14,091,000        
Options outstanding (in shares)                 4,185,876 1,840,735 4,185,876          
Aggregate intrinsic value of options exercised                   $ 3,900,000 $ 5,500,000 47,600,000        
Granted (in shares)         580,590 1,610,102 249,067     0 0          
Withheld for tax withholding obligation (in shares)                   1,333,489            
Payments for taxes related to net share settlement of equity awards                   $ (10,388,000) $ 0 $ 0        
Common Stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Common stock outstanding (in shares)                 65,739,053 70,116,357 65,739,053 64,324,628     11,882,286  
Withheld for tax withholding obligation (in shares)                   1,333,489            
Shares issued upon conversion of preferred stock (in shares) 43,836,109                     43,836,109        
Common Share Warrants 2014                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Warrant outstanding (in shares)               45,000                
Strike price (in dollars per share)               $ 0.20                
Fair value of warrants               $ 9,178                
Term after initial public offering               3 years                
Common Share Warrants 2016                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Warrant outstanding (in shares)                               62,000
Strike price (in dollars per share)                               $ 0.6825
Fair value of warrants                               $ 22,192
Common Share Warrants                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Warrant outstanding (in shares)                               107,000
Proceeds from warrant exercises     $ 0                          
Common Share Warrants | Common Stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Shares issued upon conversion of preferred stock (in shares)     104,269                          
Options to purchase common stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Equity-based compensation expense                   $ 0 $ 0 $ 3,400,000        
Employee stock purchase plan                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Number of shares authorized (in shares)                 1,943,246 2,600,637 1,943,246          
Equity-based compensation expense                   $ 700,000 $ 600,000 $ 100,000        
Expected term                   6 months 6 months          
Contribution limit as a percent of base compensation (in percent)       50.00%                        
Purchase price of stock (in percent)       85.00%                        
Maximum number of shares per employee (in shares)       2,500                        
Shares issued during period (in shares)                   457,593 165,347          
Offering period                   6 months            
Employee contributions withheld                   $ 900,000 $ 600,000          
Unrecognized compensation costs                   $ 100,000            
Restricted stock units                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)                   3,945,234            
Shares vested in period, fair value (in shares)                   $ 20,500,000 1,000,000          
Nonvested award, cost not yet recognized, amount                   $ 38,400,000            
Vested in period (in shares)                   3,662,161            
Restricted stock units | Non-Employee Directors With Four-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Granted (in shares)                   76,320            
Restricted stock units | Non-Employee Directors With Three-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   3 years            
Granted (in shares)                   59,362            
Restricted stock units | Non-Employee Directors With One-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   1 year            
Granted (in shares)                   146,136            
Vesting percentage                   100.00%            
Restricted stock units | Four-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   4 years            
Restricted stock units | Share-based Payment Arrangement, Tranche One | Non-Employee Directors With Three-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   1 year            
Vesting percentage                   33.00%            
Restricted stock units | Share-based Payment Arrangement, Tranche One | Four-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   1 year            
Vesting percentage                   25.00%            
Restricted stock units | Share-based Payment Arrangement, Tranche One | Three-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   1 year            
Vesting percentage                   33.00%            
Restricted stock units | Share-based Payment Arrangement, Tranche Two | Non-Employee Directors With Three-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   2 years            
Vesting percentage                   67.00%            
Restricted stock units | Share-based Payment Arrangement, Tranche Two | Non-Employee Directors With One-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   1 year            
Restricted stock units | Share-based Payment Arrangement, Tranche Two | Four-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   3 years            
Vesting percentage                   75.00%            
Restricted stock units | Share-based Payment Arrangement, Tranche Two | Three-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   2 years            
Vesting percentage                   67.00%            
Minimum | Options to purchase common stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Expected term                       5 years 9 months 29 days        
Minimum | Restricted stock units                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   3 years            
Minimum | Restricted stock units | Three-Year Vesting Schedule                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   3 years            
Maximum | Options to purchase common stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Expected term                       6 years 3 months        
Maximum | Restricted stock units                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   4 years            
Weighted Average | Restricted stock units                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Nonvested award, cost not yet recognized, period for recognition                   2 years 3 days            
2021 Equity Incentive Plan                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Number of shares authorized (in shares) 9,000,000                       3,300,000      
Equity-based compensation expense                   $ 22,100,000 18,100,000 $ 10,600,000        
Vesting term                   4 years            
Vesting term, cliff                   1 year            
Unrecognized equity-based compensation expense                 $ 10,200,000 $ 3,400,000 $ 10,200,000          
2021 Equity Incentive Plan | Options to purchase common stock                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Expected term                   6 years            
2021 Equity Incentive Plan | Options With Accelerated Vesting Clauses                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Options outstanding (in shares)                   333,998            
2021 Equity Incentive Plan | Minimum | Options Granted in Lieu of Bonuses                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   2 years            
2021 Equity Incentive Plan | Maximum | Options Granted in Lieu of Bonuses                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   3 years            
2021 Equity Incentive Plan | Weighted Average                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   1 year 2 months 15 days 1 year 5 months 26 days          
2015 Equity Incentive Plan                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Common stock, repriced shares, outstanding (in shares)                           1,159,479    
Option indexed to issuer's equity, strike price (in dollars per share)   $ 7.00                            
Share-based payment arrangement, plan modification, incremental expense                 1,100,000              
Share-based payment arrangement, incremental expense recognized                 $ 400,000              
2015 Equity Incentive Plan | Minimum                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Weighted average exercise price (in dollars per share)                           $ 9.04    
2015 Equity Incentive Plan | Maximum                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Weighted average exercise price (in dollars per share)                           $ 19.60    
2015 Equity Incentive Plan | Weighted Average                                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                
Vesting term                   2 years 6 months