Quarterly report pursuant to Section 13 or 15(d)

Fair Value - Schedule of Fair Value of Financial Assets and Liabilities Inputs (Details)

v3.10.0.1
Fair Value - Schedule of Fair Value of Financial Assets and Liabilities Inputs (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Assets    
Total assets measured at fair value $ 251,463 $ 354,553
Money market funds    
Assets    
Total assets measured at fair value 75,223 353,303
Commercial paper    
Assets    
Total assets measured at fair value 149,606  
Corporate debt securities    
Assets    
Total assets measured at fair value 26,634 1,250
Quoted Prices in Active Markets for Identical Instruments (Level 1)    
Assets    
Total assets measured at fair value 75,223 353,303
Quoted Prices in Active Markets for Identical Instruments (Level 1) | Money market funds    
Assets    
Total assets measured at fair value 75,223 353,303
Quoted Prices in Active Markets for Identical Instruments (Level 1) | Commercial paper    
Assets    
Total assets measured at fair value 0  
Quoted Prices in Active Markets for Identical Instruments (Level 1) | Corporate debt securities    
Assets    
Total assets measured at fair value 0 0
Significant Other Observable Inputs (Level 2)    
Assets    
Total assets measured at fair value 176,240 1,250
Significant Other Observable Inputs (Level 2) | Money market funds    
Assets    
Total assets measured at fair value 0 0
Significant Other Observable Inputs (Level 2) | Commercial paper    
Assets    
Total assets measured at fair value 149,606  
Significant Other Observable Inputs (Level 2) | Corporate debt securities    
Assets    
Total assets measured at fair value $ 26,634 $ 1,250