Income taxes - Change in Valuation Allowance (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Valuation allowance, beginning | $ 132,443 | $ 82,398 |
| Foreign currency translation adjustments | (12,222) | (1,513) |
| Net change in the valuation allowance | 28,069 | 50,045 |
| Valuation allowance, ending | 160,512 | 132,443 |
| Net loss | ||
| Increase in valuation allowance | 30,455 | 50,046 |
| Other comprehensive loss | ||
| Increase in valuation allowance | $ 9,836 | $ 1,512 |
| X | ||||||||||
- Definition Amount of decrease in the valuation allowance for a foreign currency translation adjustments, deferred tax asset. No definition available.
|
| X | ||||||||||
- Definition Amount of increase in the valuation allowance for a specified deferred tax asset. No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|