XML 133 R68.htm IDEA: XBRL DOCUMENT v3.22.0.1
Commitments and contingent liabilities - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Nov. 06, 2020
Sep. 10, 2018
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Loss Contingencies [Line Items]          
Lease and rental expense     $ 7,349 $ 5,950 $ 5,410
Pledged bank deposits     2,350 1,438  
Operating lease commitments     2,698 1,687  
Zai License and Collaboration Agreement          
Loss Contingencies [Line Items]          
Non-refundable up-front license fee, amount   $ 15,000      
Zai License and Collaboration Agreement | License          
Loss Contingencies [Line Items]          
Regulatory and commercial milestone payments       10,000  
Liability, revenue recognized     $ 6,308 $ 3,981 $ 2,115
Zai License and Collaboration Agreement | License | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date: 2021-01-01          
Loss Contingencies [Line Items]          
Revenue recognition period     6 years    
Minimum | Zai License and Collaboration Agreement | License          
Loss Contingencies [Line Items]          
Percentage of tiered royalties rates on net sales   10.00%      
Maximum | Zai License and Collaboration Agreement          
Loss Contingencies [Line Items]          
Regulatory and commercial milestone payments   $ 78,000      
Line of Credit | Revolving Credit Facility          
Loss Contingencies [Line Items]          
Contractual term 3 years        
Maximum borrowing capacity $ 150,000        
Covenant compliance, maximum outstanding commitments $ 250,000        
Outstanding balance borrowed under the facility     $ 0    
Line of Credit | Minimum | Revolving Credit Facility          
Loss Contingencies [Line Items]          
Fee for unused revolving credit commitments, percentage 0.35%        
Line of Credit | Minimum | Revolving Credit Facility | London Interbank Offered Rate (LIBOR)          
Loss Contingencies [Line Items]          
Basis spread on variable rate 2.75%        
Line of Credit | Maximum | Revolving Credit Facility          
Loss Contingencies [Line Items]          
Fee for unused revolving credit commitments, percentage 0.45%        
Line of Credit | Maximum | Revolving Credit Facility | London Interbank Offered Rate (LIBOR)          
Loss Contingencies [Line Items]          
Basis spread on variable rate 3.25%