v3.25.1
Summary of Significant Accounting Policies - Summary of Outstanding Potentially Dilutive Shares of Common Stock Excluded from Calculation of Diluted Net Loss Per Share (Details) - shares
3 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Anti-dilutive shares of stock (in shares) 22,728,431 22,537,933
Common stock issuable upon conversion of convertible notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Anti-dilutive shares of stock (in shares) 9,964,058 9,964,247
Options to purchase common stock and restricted stock units    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Anti-dilutive shares of stock (in shares) 12,712,908 12,525,389
Employee stock purchase plan contingently issuable    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Anti-dilutive shares of stock (in shares) 51,465 48,297