XML 47 R35.htm IDEA: XBRL DOCUMENT v3.22.1
Summary of significant accounting policies - Collaboration and Royalty Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Collaboration and royalty revenue    
Revenue $ 148,735 $ 117,942
Collaboration and grant revenue    
Collaboration and royalty revenue    
Revenue 7 20,007
Royalty revenue    
Collaboration and royalty revenue    
Revenue 18,896 6,655
SMA License Agreement | Collaboration and grant revenue    
Collaboration and royalty revenue    
Revenue 0 20,000
SMA License Agreement | Royalty revenue    
Collaboration and royalty revenue    
Revenue $ 18,900 6,700
SMA License Agreement | Sales Milestones    
Collaboration and royalty revenue    
Milestone payments received   $ 20,000