v3.24.0.1
Stock based awards - Stock option activity (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Number of Options      
Balance Outstanding, Beginning of the period (in shares) 5,780,004    
Options granted ( in shares) 1,720,882    
Options exercised ( in shares) (593,959)    
Options cancelled (in shares) (6,950)    
Balance Outstanding, End of the period (in shares) 6,899,977 5,780,004  
Vested and expected to vest ( in shares) 6,899,977    
Exercisable ( in shares) 4,126,549    
Weighted-Average Exercise Price per Share      
Weighted-average exercise price, Beginning of the period (in dollars per share) $ 18.88    
Weighted-average exercise price, Granted (in dollars per share) 28.29    
Weighted-average exercise price, Exercised (in dollars per share) 5.5    
Weighted-Average Exercise price, cancelled (in dollars per share) 49.74    
Weighted-average exercise price, End of the period (in dollars per share) 22.35 $ 18.88  
Weighted-average exercise price, Vested and expected to vest at end of the period (in dollars per share) 22.35    
Weighted-average exercise price, Exercisable ( in dollars per share ) $ 18.32    
Weighted-Average remaining contractual term (years) and Aggregate Intrinsic Value      
Weighted-average remaining contractual term outstanding (in years) 7 years 8 months 1 day 7 years 9 months 18 days  
Weighted-average remaining contractual term vested and expected to vest (in years) 7 years 8 months 1 day    
Weighted-average remaining contractual term , Options Exercisable(in years) 6 years 8 months 8 days    
Aggregate Intrinsic Value Balance outstanding $ 35,133 $ 207,611  
Aggregate Intrinsic Value Vested and Expected to vest 35,133    
Aggregate Intrinsic Value Exercisable $ 28,508    
Weighted average grant-date fair value per share of stock options granted $ 28.29 $ 28.76 $ 13.98