v3.25.2
Net Loss per Share Attributable to Common Stockholders - Schedule of Potential Shares of Common Stock Excluded from Computation of Basic and Diluted Net Loss per Share Attributable to Common Stockholders (Details) - shares
shares in Thousands
6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 34,190 27,498
2026 Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 6,762 6,762
2030 Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 8,075 0
Unexercised stock options    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 7,517 9,977
Unvested RSUs    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 11,723 10,590
Shares issuable pursuant to the ESPP    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 113 169