XML 47 R35.htm IDEA: XBRL DOCUMENT v3.21.2
Summary of significant accounting policies - Collaboration and Royalty Revenue (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Mar. 31, 2021
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Collaboration and royalty revenue          
Revenue   $ 116,676 $ 75,239 $ 234,620 $ 143,498
Collaboration revenue          
Collaboration and royalty revenue          
Revenue   0 0 20,007 63
Royalty revenue          
Collaboration and royalty revenue          
Revenue   13,563 0 20,220  
SMA License Agreement | Collaboration revenue          
Collaboration and royalty revenue          
Revenue   0 0 20,000 100
SMA License Agreement | Royalty revenue          
Collaboration and royalty revenue          
Revenue   13,600 $ 0 20,200 0
SMA License Agreement | Sales Milestones          
Collaboration and royalty revenue          
Milestone payments received $ 20,000 $ 0   $ 20,000 $ 0