XML 33 R21.htm IDEA: XBRL DOCUMENT v3.8.0.1
Fair Value Measurements - Summary of Company's Money Market Funds and Marketable Securities (Detail) - USD ($)
$ in Thousands
Sep. 30, 2017
Dec. 31, 2016
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents $ 134,916 $ 168,517
Total marketable securities 108,535 228,962
Total cash equivalents and marketable securities 243,451 397,479
Money Market Funds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 134,916 168,517
U.S. Government Securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities 37,992 100,031
U.S. Corporate Bonds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities 16,317 58,452
International Corporate Bonds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities   24,190
U.S. Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities 24,710 30,351
International Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities 29,516 15,938
Fair Value, Inputs, Level 1 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 134,916 168,517
Total cash equivalents and marketable securities 134,916 168,517
Fair Value, Inputs, Level 1 [Member] | Money Market Funds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 134,916 168,517
Fair Value, Inputs, Level 2 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities 108,535 228,962
Total cash equivalents and marketable securities 108,535 228,962
Fair Value, Inputs, Level 2 [Member] | U.S. Government Securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities 37,992 100,031
Fair Value, Inputs, Level 2 [Member] | U.S. Corporate Bonds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities 16,317 58,452
Fair Value, Inputs, Level 2 [Member] | International Corporate Bonds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities   24,190
Fair Value, Inputs, Level 2 [Member] | U.S. Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities 24,710 30,351
Fair Value, Inputs, Level 2 [Member] | International Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total marketable securities $ 29,516 $ 15,938