Share-based compensation - Share-based Compensation Expense (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
|
| Total share-based compensation expense included in the consolidated statements of operations | |||
| Total | $ 20,629 | $ 10,414 | $ 11,053 |
| Research and development | |||
| Total share-based compensation expense included in the consolidated statements of operations | |||
| Total share-based compensation expense | 9,052 | 4,417 | 3,812 |
| General and administrative | |||
| Total share-based compensation expense included in the consolidated statements of operations | |||
| Total share-based compensation expense | $ 11,577 | $ 5,997 | $ 7,241 |
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after tax, of expense for award under share-based payment arrangement. No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|