XML 101 R58.htm IDEA: XBRL DOCUMENT v3.22.4
Stock-based compensation - Additional Information (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2022
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
Instalment
Dec. 31, 2020
USD ($)
Dec. 31, 2018
shares
Jan. 01, 2023
shares
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Shares of common stock reserved for future issuance 7,057,629        
Proceeds from exercise of stock options | $ $ 2,175 $ 966 $ 11    
Employee Stock Option          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Weighted average grant date fair value of stock options granted | $ / shares $ 19.39        
Aggregate intrinsic value of stock options exercised | $ $ 21,200        
Proceeds from exercise of stock options | $ 2,200        
Unrecognized stock-based compensation cost | $ $ 64,400        
Weighted average period over which unrecognized compensation is expected to be recognized 2 years 6 months        
Restricted Stock Units (RSUs)          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Weighted average period over which unrecognized compensation is expected to be recognized 6 months        
Unrecognized stock-based compensation cost | $ $ 13,600        
Purchase of common stock under ESPP(shares)       2,150,537  
Number of Installments for Restricted Shares Vested | Instalment   48      
Twenty Eighteen | Common Stock          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Shares of common stock reserved for future issuance 6,885,653        
2021 Stock Incentive Plan          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Shares of common stock reserved for future issuance         3,086,541
Shares available for future grant 3,025,807        
Purchase of common stock under ESPP(shares) 134,107        
Stock available for issuance under ESPP 784,326        
Number of RSUs, Granted 688,700        
2021 Stock Incentive Plan | Restricted Stock Units (RSUs)          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Shares available for future grant 688,700        
Vesting period 4 years        
ESPP          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Increase in common stock capital shares, reserved for future issuance         617,308