XML 13 R36.htm IDEA: XBRL DOCUMENT v3.20.1
Fair Value Measurement - Financial Instruments (Details) - USD ($)
$ in Thousands
Mar. 31, 2020
Dec. 31, 2019
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments $ 404,794 $ 381,074
Long-term investments 273,114 310,483
Fair Value, Measurements, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured and recorded at fair value 838,254 837,722
Fair Value, Measurements, Recurring | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured and recorded at fair value 192,202 190,451
Fair Value, Measurements, Recurring | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured and recorded at fair value 646,052 647,271
Commercial paper | Fair Value, Measurements, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments   7,489
Commercial paper | Fair Value, Measurements, Recurring | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments   0
Commercial paper | Fair Value, Measurements, Recurring | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments   7,489
Corporate securities | Fair Value, Measurements, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments 357,919 319,293
Long-term investments 254,586 295,478
Corporate securities | Fair Value, Measurements, Recurring | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments 0 0
Long-term investments 0 0
Corporate securities | Fair Value, Measurements, Recurring | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments 357,919 319,293
Long-term investments 254,586 295,478
U.S. treasury securities | Fair Value, Measurements, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments 31,856 44,286
U.S. treasury securities | Fair Value, Measurements, Recurring | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments 31,856 44,286
U.S. treasury securities | Fair Value, Measurements, Recurring | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments 0 0
Agency bonds | Fair Value, Measurements, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments 15,019 10,006
Long-term investments 18,528 15,005
Agency bonds | Fair Value, Measurements, Recurring | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments 0 0
Long-term investments 0 0
Agency bonds | Fair Value, Measurements, Recurring | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments 15,019 10,006
Long-term investments 18,528 15,005
Money market funds | Fair Value, Measurements, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents 160,346 146,165
Money market funds | Fair Value, Measurements, Recurring | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents 160,346 146,165
Money market funds | Fair Value, Measurements, Recurring | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents $ 0 $ 0