v3.23.2
License, Collaboration and Other Significant Agreements - Sublicense Agreement with Japan Tobacco, Inc. and its subsidiary, Torii Pharmaceutical Co., Ltd. Narrative (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2022
USD ($)
performance_obligation
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Total revenues $ 292,484 $ 211,650 $ 294,644
JT and Torii | Sublicense Agreement      
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]      
Potential payment for achievement of annual net sales milestones $ 55,000    
License agreement, notice period for termination 6 months    
Prior written notice for termination on the breach of agreement period 60 days    
Number of performance obligations | performance_obligation 2    
Total revenues $ 5,300 $ 5,800 $ 5,700