XML 107 R77.htm IDEA: XBRL DOCUMENT v3.22.0.1
Collaboration and license arrangements (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Collaboration and license arrangements      
Revenue $ 110,556 $ 86,377 $ 56,734
Previously deferred revenue   1,200  
Deferred revenue 500 500  
Joint development and license agreement | Maximum      
Collaboration and license arrangements      
Revenue 100 100 100
Abbot license agreement      
Collaboration and license arrangements      
Initial license fee receivable $ 10,000    
Number of days notice to terminate agreement 60 days    
Collaboration and license revenue      
Collaboration and license arrangements      
Revenue $ 648 11,809 $ 184
Collaboration and license revenue | Abbot license agreement      
Collaboration and license arrangements      
Revenue $ 0 $ 10,000