v3.26.1
Net Loss Per Share - Schedule of Common Stock Equivalents were Excluded from Computation of Diluted Net Loss per Share (Details) - shares
6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 58,338,446 58,542,256
Unvested RSUs    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 9,074,136 11,852,773
Unvested performance-based RSUs    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 285,973 194,943
Unvested market-based RSUs    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 116,071 375,000
Common stock options issued and outstanding    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 10,041,746 12,199,613
Estimated shares issuable under performance-based milestone compensation arrangements    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 902,775 1,681,209
Estimated shares issuable under the ESPP    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 71,990 112,977
Assumed conversion of 2027 Notes    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 12,878,305 12,878,305
Assumed conversion of 2029 Notes    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 7,702,988 7,702,988
Assumed conversion of 2031 Notes    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 11,544,448 11,544,448
Assumed conversion of 2033 Notes    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of diluted net loss per share (in shares) 5,720,014 0