Loss Per Share - Diluted shares outstanding (Details) - shares shares in Thousands |
6 Months Ended | |
|---|---|---|
Jun. 30, 2023 |
Jun. 30, 2022 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total | 82,994 | 69,566 |
| Class A common stock resulting from exercise of all warrants | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total | 3,648 | 3,761 |
| Stock options and RSUs | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total | 66,009 | 52,468 |
| Convertible notes | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total | 13,337 | 13,337 |