v3.26.1
Net Loss (Income) Per Share of Class A Common Stock - Potentially Dilutive Shares (Details) - shares
shares in Thousands
6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Convertible Senior Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 6,539 0
Restricted stock units outstanding    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 2,382 2,655
Private placement warrants (exercisable for Class A common stock) treated as liability    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 2,473 3,091
Public warrants (exercisable for Class A common stock) treated as liability    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 1,977 1,977
Stock options and ESPP shares    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 1,659 1,855
Sponsor Shares    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 296 296
Common stock warrants (exercisable for Class A common stock) treated as equity    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share 221 221