XML 50 R40.htm IDEA: XBRL DOCUMENT v3.10.0.1
Collaboration Agreements Schedule of Significant Changes in Deferred Revenue Balances - IO Collaboration (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Disaggregation of Revenue [Line Items]    
Increase as a result of cumulative-effect adjustment arising from the adoption of ASC 606 $ (84,238) $ (10,655)
Sanofi Collaboration Agreement, Immuno-oncology    
Disaggregation of Revenue [Line Items]    
Revenue recognized that was included in deferred revenue at the beginning of the period (57,331)  
Accounting Standards Update 2014-09 | Sanofi Collaboration Agreement, Immuno-oncology    
Disaggregation of Revenue [Line Items]    
Increase as a result of cumulative-effect adjustment arising from the adoption of ASC 606 $ 93,643