v3.22.2.2
Summary of significant accounting policies - Narrative (Details)
$ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended 12 Months Ended
Dec. 22, 2017
Jun. 30, 2022
USD ($)
Jul. 31, 2020
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
segment
Sep. 30, 2021
USD ($)
Dec. 31, 2019
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2018
USD ($)
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Number of operating segments | segment           1        
Allowance for credit loss       $ 0 $ 0 $ 0 $ 0      
Increase in allowance for credit losses       0 0 0 0      
Allowance for doubtful accounts receivable       100   100     $ 100  
Revenue       217,127 138,743 531,389 373,364      
Deferred payroll taxes provided for under CARES Act           1,300        
Cash consideration received from Royalty Purchase Agreement     $ 650,000              
Income taxes                    
Federal income tax statutory rate 21.00%                  
State income tax provision - IRC Section 174 R&D Expenses           8,700        
Income tax benefit from release of valuation allowance on IPR&D intangible assets           18,900        
Agilis                    
Income taxes                    
Deferred tax liability                   $ 122,000
Deposits and other assets                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Bank guarantee       500   500        
Hopewell Campus                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Period after which letter of credit may be reduced if lease is not in default               5 years    
Hopewell Campus | Minimum                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Term for letter of credit (in years)               5 years    
Hopewell Campus | Deposits and other assets                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Letters of credit               $ 7,500    
Hopewell Campus | Fifth Anniversary                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Letters of credit               $ 3,800    
Warren Premises                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Period after which letter of credit may be reduced if lease is not in default   5 years                
Warren Premises | Deposits and other assets                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Letters of credit   $ 8,100                
Warren Premises | Fifth Anniversary                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Letters of credit   $ 4,100                
Net product revenue                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Revenue       134,186 115,605 407,720 309,998      
Net product revenue | Non-US                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Revenue       79,400 68,500 247,600 170,200      
Emflaza | United States                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Revenue       54,800 47,100 160,100 139,800      
Translarna | Non-US                    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                    
Revenue       $ 76,600 $ 67,200 $ 232,900 $ 166,300