Fair Value Measurements (Fair Value Hierarchy for Assets and Liabilities Measured at Fair Value on Recurring Basis) (Detail) - Fair Value, Measurements, Recurring - USD ($) $ in Thousands | Sep. 30, 2017 | Dec. 31, 2016 |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | $ 69,226 | $ 74,748 |
Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 18,078 | 13,578 |
Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 38,707 | 49,120 |
Certificates of deposit | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 6,450 | 9,291 |
Commercial paper | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | | 1,247 |
U.S. Treasury securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 4,496 | 1,000 |
Debt securities of U.S. government-sponsored agencies | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 1,495 | 512 |
Level 1 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 18,078 | 13,578 |
Level 1 | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 18,078 | 13,578 |
Level 1 | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 0 | 0 |
Level 1 | Certificates of deposit | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 0 | 0 |
Level 1 | Commercial paper | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | | 0 |
Level 1 | U.S. Treasury securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 0 | 0 |
Level 1 | Debt securities of U.S. government-sponsored agencies | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 0 | 0 |
Level 2 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 51,148 | 61,170 |
Level 2 | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 0 | 0 |
Level 2 | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 38,707 | 49,120 |
Level 2 | Certificates of deposit | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 6,450 | 9,291 |
Level 2 | Commercial paper | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | | 1,247 |
Level 2 | U.S. Treasury securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 4,496 | 1,000 |
Level 2 | Debt securities of U.S. government-sponsored agencies | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 1,495 | 512 |
Level 3 | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 0 | 0 |
Level 3 | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 0 | 0 |
Level 3 | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 0 | 0 |
Level 3 | Certificates of deposit | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 0 | 0 |
Level 3 | Commercial paper | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | | 0 |
Level 3 | U.S. Treasury securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | 0 | 0 |
Level 3 | Debt securities of U.S. government-sponsored agencies | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Assets measured at fair value on a recurring basis | $ 0 | $ 0 |