XML 48 R35.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of significant accounting policies - Collaboration and Royalty Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Collaboration and royalty revenue        
Revenue $ 165,526 $ 116,676 $ 314,262 $ 234,620
Collaboration and grant revenue        
Collaboration and royalty revenue        
Revenue     7 20,007
Royalty revenue        
Collaboration and royalty revenue        
Revenue 21,825 13,563 40,721 20,220
SMA License Agreement | Collaboration and grant revenue        
Collaboration and royalty revenue        
Revenue 0 0 0 20,000
SMA License Agreement | Royalty revenue        
Collaboration and royalty revenue        
Revenue $ 21,800 13,600 $ 40,700 20,200
SMA License Agreement | Sales Milestones        
Collaboration and royalty revenue        
Milestone payments received   $ 20,000   $ 20,000