XML 58 R43.htm IDEA: XBRL DOCUMENT v3.22.0.1
Intangible Asset - Additional Information (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Jan. 31, 2021
Nov. 30, 2019
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Finite Lived Intangible Assets [Line Items]          
Amortization expense     $ 18,424 $ 9,843 $ 2,815
WAKIX          
Finite Lived Intangible Assets [Line Items]          
License agreement milestone payments paid   $ 75,000      
Useful life of intangible asset     10 years    
Remaining useful life     7 years 9 months 18 days    
NDA for WAKIX.          
Finite Lived Intangible Assets [Line Items]          
License agreement milestone payments paid $ 100,000        
Useful life of intangible asset 9 years        
Remaining useful life     7 years 9 months 18 days