v3.24.2.u1
Net Loss Per Share - Narrative (Details) - $ / shares
shares in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potentially dilutive securities excluded from the computation of diluted net loss per share (in shares) 46,916 45,915
2025 Notes | Convertible Senior Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Conversion price (in dollars per share) $ 12.60  
2026 Notes | Convertible Senior Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Conversion price (in dollars per share) $ 27.89  
Shares related to Convertible Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potentially dilutive securities excluded from the computation of diluted net loss per share (in shares) 19,538 19,538
Shares related to Convertible Notes | 2025 Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potentially dilutive securities excluded from the computation of diluted net loss per share (in shares) 11,900  
Shares related to Convertible Notes | 2026 Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potentially dilutive securities excluded from the computation of diluted net loss per share (in shares) 7,600