Financial Instruments (Detail) - Financial Assets Measured At Fair Value On A Recurring Basis - USD ($) $ in Thousands | Sep. 30, 2017 | Dec. 31, 2016 |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | $ 110,989 | $ 33,356 |
Short-term investments, amortized cost | 39,047 | 91,031 |
Short-term investments, unrealized gains | 4 | 9 |
Short-term investments, unrealized losses | (6) | (163) |
Short-term investments, total estimated fair value | 39,045 | 90,877 |
Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 35,714 | 30,286 |
Short-term investments, estimated fair value | 0 | 20,083 |
Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 75,275 | 3,070 |
Short-term investments, estimated fair value | 39,045 | 70,794 |
Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
Short-term investments, estimated fair value | 0 | 0 |
Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 24,041 | |
Commercial paper | Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | |
Commercial paper | Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 24,041 | |
Commercial paper | Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | |
Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, amortized cost | 2,009 | |
Short-term investments, total estimated fair value | 2,009 | |
Corporate bonds | Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, total estimated fair value | 0 | |
Corporate bonds | Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, total estimated fair value | 2,009 | |
Corporate bonds | Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, total estimated fair value | 0 | |
Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 35,714 | 30,286 |
Money market funds | Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 35,714 | 30,286 |
Money market funds | Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
Money market funds | Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
Municipal bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 922 | 3,070 |
Municipal bonds | Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
Municipal bonds | Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 922 | 3,070 |
Municipal bonds | Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
U.S. government and agency securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 48,303 | |
U.S. government and agency securities | Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | |
U.S. government and agency securities | Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 48,303 | |
U.S. government and agency securities | Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents | 0 | |
Municipal bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, amortized cost | 16,737 | 55,723 |
Short-term investments, unrealized gains | 4 | 0 |
Short-term investments, unrealized losses | (2) | (65) |
Short-term investments, total estimated fair value | 16,739 | 55,658 |
Municipal bonds | Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 0 | 0 |
Municipal bonds | Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 16,739 | 55,658 |
Municipal bonds | Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 0 | 0 |
Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, amortized cost | 6,906 | 4,296 |
Short-term investments, unrealized gains | 0 | 0 |
Short-term investments, unrealized losses | 0 | (3) |
Short-term investments, total estimated fair value | 6,906 | 4,293 |
Commercial paper | Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 0 | 0 |
Commercial paper | Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 6,906 | 4,293 |
Commercial paper | Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 0 | 0 |
Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, amortized cost | 8,957 | 10,856 |
Short-term investments, unrealized gains | 0 | 0 |
Short-term investments, unrealized losses | (3) | (13) |
Short-term investments, total estimated fair value | 8,954 | 10,843 |
Corporate bonds | Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 0 | 0 |
Corporate bonds | Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 8,954 | 10,843 |
Corporate bonds | Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 0 | 0 |
U.S. government and agency securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, amortized cost | 6,447 | 20,033 |
Short-term investments, unrealized gains | 0 | 9 |
Short-term investments, unrealized losses | (1) | (4) |
Short-term investments, total estimated fair value | 6,446 | 20,038 |
U.S. government and agency securities | Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 0 | 20,038 |
U.S. government and agency securities | Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | 6,446 | 0 |
U.S. government and agency securities | Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | $ 0 | 0 |
Equity securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, amortized cost | | 123 |
Short-term investments, unrealized gains | | 0 |
Short-term investments, unrealized losses | | (78) |
Short-term investments, total estimated fair value | | 45 |
Equity securities | Fair Value, Inputs, Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | | 45 |
Equity securities | Fair Value, Inputs, Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | | 0 |
Equity securities | Fair Value, Inputs, Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments, estimated fair value | | $ 0 |