Stock Plans - Stock-based compensation expense (Details) - USD ($) $ in Thousands  | 
12 Months Ended | |
|---|---|---|
Dec. 31, 2021  | 
Dec. 31, 2020  | 
|
| Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost | ||
| Total stock-based compensation expenses | $ 1,505 | $ 7 | 
| Research and development | ||
| Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost | ||
| Total stock-based compensation expenses | 749 | |
| General and administrative | ||
| Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost | ||
| Total stock-based compensation expenses | $ 756 | $ 7 | 
| 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 Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |