v3.25.2
Net Income (Loss) Per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details) - shares
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total (in shares) 28,987,386 20,842,409 28,987,386 20,842,409
Options to purchase common stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total (in shares) 9,839,891 13,229,971 9,839,891 13,229,971
Unvested RSUs        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total (in shares) 3,152,602 5,141,818 3,152,602 5,141,818
Purchase rights committed under the ESPP        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total (in shares) 65,540 152,542 65,540 152,542
Convertible debt        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total (in shares) 15,929,353 2,318,078 15,929,353 2,318,078