XML 43 R30.htm IDEA: XBRL DOCUMENT v3.19.2
Collaboration and Other Agreements - Zai Lab (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Nov. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Dec. 31, 2018
Collaboration And Other Agreements [Line Items]            
Revenues   $ 10,593 $ 18,834 $ 20,255 $ 23,529  
Deferred revenue, current   14,449   14,449   $ 21,721
Deferred revenue, net of current portion   15,413   15,413   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   140,000    
Revenues   4,000   8,000    
Deferred revenue   13,100   13,100   21,100
Deferred revenue, current   8,100   8,100   16,100
Deferred revenue, net of current portion   $ 5,000   5,000   $ 5,000
Revenues From License Agreements | Zai Labs Collaboration and License Agreement | Zai Labs            
Collaboration And Other Agreements [Line Items]            
Revenues       $ 2,000 $ 2,000