XML 52 R37.htm IDEA: XBRL DOCUMENT v3.21.2
Intangible Assets - Additional Information (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Jan. 31, 2021
Oct. 31, 2020
Nov. 30, 2019
Aug. 31, 2019
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Finite Lived Intangible Assets [Line Items]                
License agreement milestone payments paid     $ 75,000 $ 2,000        
Useful life of intangible asset 9 years           10 years  
Remaining useful life             8 years 3 months  
Amortization of acquired developed technology         $ 4,629 $ 1,907 $ 9,208 $ 3,693
Upon FDA Approval of WAKIX                
Finite Lived Intangible Assets [Line Items]                
License agreement milestone payments paid $ 100,000 $ 2,000