Net loss per share - Antidilutive Securities Excluded from Computation of Net Income per Share (Details) - shares shares in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2022 |
Sep. 30, 2021 |
Sep. 30, 2022 |
Sep. 30, 2021 |
|
| Earnings Per Share [Abstract] | ||||
| Antidilutive securities excluded from computation of earnings per share (shares) | 7,007 | 1,682 | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from computation of earnings per share (shares) | 7,007 | 1,682 | ||
| Share-based Payment Arrangement | ||||
| Earnings Per Share [Abstract] | ||||
| Antidilutive securities excluded from computation of earnings per share (shares) | 10,328 | 1,772 | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from computation of earnings per share (shares) | 10,328 | 1,772 | ||