Equity Method Investment - Summary Financial Information (Details) - USD ($) $ in Thousands |
3 Months Ended | 12 Months Ended | ||||||
|---|---|---|---|---|---|---|---|---|
Dec. 31, 2020 |
Sep. 30, 2020 |
Jun. 30, 2020 |
Mar. 31, 2020 |
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|
| Schedule of Equity Method Investments [Line Items] | ||||||||
| Current assets | $ 45,336 | $ 71,312 | $ 45,336 | |||||
| Current liabilities | 12,149 | 9,692 | 12,149 | |||||
| Stockholders' equity | 72,148 | 97,162 | 72,148 | $ 71,111 | $ 110,336 | |||
| Net loss | 27,347 | $ (9,796) | $ (10,611) | $ (12,935) | (43,241) | (5,995) | $ (46,672) | |
| Angel Pharmaceuticals | ||||||||
| Schedule of Equity Method Investments [Line Items] | ||||||||
| Current assets | 38,883 | 38,407 | 38,883 | |||||
| Non-current assets | 1,710 | |||||||
| Current liabilities | 97 | 1,741 | 97 | |||||
| Non-current liabilities | 276 | |||||||
| Stockholders' equity | $ 38,786 | 38,100 | 38,786 | |||||
| Net loss | (5,697) | (274) | ||||||
| Share of loss from investments accounted for using the equity method | $ (4,831) | $ (234) | ||||||