Annual report pursuant to Section 13 and 15(d)

Stockholders??? Equity - Narrative (Details)

v3.22.4
Stockholders’ Equity - Narrative (Details) - USD ($)
1 Months Ended 2 Months Ended 3 Months Ended 12 Months Ended 33 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Oct. 31, 2021
Sep. 30, 2021
Jul. 31, 2021
Apr. 30, 2021
Dec. 31, 2020
Oct. 31, 2020
Jul. 31, 2020
Mar. 31, 2020
Sep. 30, 2016
Sep. 30, 2014
Dec. 31, 2022
Dec. 31, 2022
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Sep. 30, 2016
Nov. 01, 2022
Nov. 15, 2021
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                        
Common stock outstanding (in shares)                         65,739,053 65,739,053 65,739,053 64,324,628       500,000,000
Common stock par value (in dollars per share)                         $ 0.00001 $ 0.00001 $ 0.00001 $ 0.00001       $ 0.00001
Preferred stock outstanding (in shares)                               0       10,000,000
Preferred stock par value (in dollars per share)                               $ 0.00001       $ 0.00001
Equity-based compensation expense                             $ 18,752,000 $ 14,091,000 $ 11,613,000      
Options outstanding (in shares)                         4,185,876 4,185,876 4,185,876 7,574,136        
Aggregate intrinsic value of options exercised                             $ 5,500,000 $ 47,600,000 $ 11,100,000      
Granted (in shares)       580,590 1,610,102 249,067 2,371,893 346,250 414,149 502,016         0          
Common Share Warrants 2014                                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                        
Warrants issued (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]                                        
Warrants issued (in shares)                     62,000                  
Strike price (in dollars per share)                     $ 0.6825             $ 0.6825    
Fair value of warrants                     $ 22,192             $ 22,192    
Common Share Warrants                                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                        
Proceeds from warrant exercises   $ 0                                    
Stock warrants exercised (in shares)   104,269                               107,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 1,943,246 1,943,246 1,300,000        
Equity-based compensation expense                             $ 600,000 $ 100,000        
Expected term                             6 months 8 months 1 day        
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)                             165,347 0        
Offering period                             6 months          
Employee contributions withheld                             $ 600,000 $ 300,000        
Unrecognized compensation costs                             $ 100,000          
Restricted stock units                                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                        
Granted (in shares)                             9,362,682          
Shares vested in period, fair value (in shares)                             $ 1,000,000 $ 0        
Nonvested award, cost not yet recognized, amount                         $ 36,900,000 $ 36,900,000 $ 36,900,000          
Vested in period (in shares)                             179,143          
Restricted stock units | Four-Year Vesting Schedule                                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                        
Vesting term                             4 years          
Granted (in shares)                             171,075          
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 | 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 5 years 6 months      
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 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 5 months 1 day          
2021 Equity Incentive Plan                                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                        
Number of shares authorized (in shares)                         3,200,000 3,200,000 3,200,000         9,000,000
Equity-based compensation expense                             $ 18,100,000 $ 10,600,000 $ 4,400,000      
Vesting term                             4 years          
Vesting term, cliff                             1 year          
Unrecognized equity-based compensation expense                         $ 10,200,000 $ 10,200,000 $ 10,200,000 $ 34,500,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)                         2,042,600 2,042,600 2,042,600          
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 5 months 26 days 2 years 11 months 15 days        
Secondary Sales Of Common Stock                                        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                                        
Equity-based compensation expense                           $ 3,400,000   $ 7,300,000        
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