Equity Method Investment (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Oct. 31, 2020
Dec. 31, 2021
Dec. 31, 2020
Schedule of Equity Method Investments [Line Items]      
Gain on deconsolidation of subsidiary     $ 37,459
Loss from equity method investment   $ (4,831) (234)
Angel Pharmaceuticals Co. Ltd      
Schedule of Equity Method Investments [Line Items]      
Ownership interest (as percent) 53.20% 49.70%  
Exclusive grant back period 7 years    
Equity interest at its fair value     37,500
Gain on deconsolidation of subsidiary     37,500
Equity reserved (as percent)   7.00%  
Loss from equity method investment   $ 0 $ 200