v3.25.0.1
Stock-Based Compensation - Schedule of Stock Option Activity (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Number of Shares        
Beginning balance (in shares) 4,381,099 4,214,617 2,961,195  
Granted (in shares) 1,681,742 1,679,860 4,494,333  
Exercised (in shares) (412,442) (279,148) (949,259)  
Forfeited (in shares) (419,137) (1,234,230) (2,291,652)  
Ending balance (in shares) 5,231,262 4,381,099 4,214,617 2,961,195
Exercisable at end of period (in shares) 1,883,668      
Vested and expected (in shares) 5,231,262      
Weighted Average Exercise Price        
Beginning balance (in dollars per share) $ 15.87 $ 16.48 $ 25.46  
Granted (in dollars per share) 15.01 17.11 14.49  
Exercised (in dollars per share) 8.80 10.79 10.87  
Forfeited (in dollars per share) 16.06 20.77 26.50  
Ending balance (in dollars per share) 16.14 $ 15.87 $ 16.48 $ 25.46
Exercisable, ending balance (in dollars per share) 18.94      
Vested and expected (in dollars per share) $ 16.14      
Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Additional Disclosures [Abstract]        
Weighted average remaining contractual term 5 years 10 months 24 days 5 years 6 months 21 days 5 years 6 months 18 days 3 years 9 months 14 days
Exercisable, ending balance of weighted-average remaining contract term (in dollars per share) 4 years 25 days      
Vested and expected weighted-average remaining contract term (in dollars per share) 5 years 10 months 24 days      
Beginning balance of Aggregate Intrinsic $ 15,568 $ 1,375 $ 36,065  
Exercised 2,159 1,373 6,050  
Ending balance of Aggregate Intrinsic 14,701 $ 15,568 $ 1,375 $ 36,065
Exercisable 5,691      
Options and vested $ 14,701