v3.24.3
Net income (loss) per share -Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details) - shares
3 Months Ended 9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Sep. 30, 2024
Sep. 30, 2023
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 6,166,836 16,621,163 6,126,612 16,869,295
Options to purchase common stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 1,175,071 5,267,371 1,187,222 5,792,252
Restricted stock units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 544,113 9,328,583 3,309,333 9,231,891
Market stock units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 4,447,652 1,822,258 1,630,057 1,799,804
ESPP        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 0 202,951 0 45,348