XML 38 R27.htm IDEA: XBRL DOCUMENT v3.19.1
Collaboration and Other Agreements - Zai Lab (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended
Nov. 30, 2018
Mar. 31, 2019
Mar. 31, 2018
Dec. 31, 2018
Collaboration And Other Agreements [Line Items]        
Revenues   $ 9,662 $ 4,695  
Deferred revenue, current   18,085   $ 21,721
Deferred revenue, net of current portion   17,207   19,001
Zai Labs Collaboration and License Agreement | Zai Labs        
Collaboration And Other Agreements [Line Items]        
Non-refundable upfront payment $ 25,000      
Nonrefundable payment tax withholding $ 2,500      
Potential development and regulatory milestone payments under agreement   140,000    
Revenues   4,000    
Deferred revenue   17,100   21,100
Deferred revenue, current   12,100   16,100
Deferred revenue, net of current portion   $ 5,000   $ 5,000