Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Schedule of Assets at Fair Value on Recurring Basis (Detail)

v3.8.0.1
Fair Value Measurements - Schedule of Assets at Fair Value on Recurring Basis (Detail) - USD ($)
$ in Thousands
Sep. 30, 2017
Dec. 31, 2016
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Assets held in rabbi trust $ 8,545 $ 7,337
Marketable securities, available for sale 128,257 104,929
Short-term investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 82,813 27,454
Short-term investments [Member] | U.S. Treasuries [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 65,365 24,957
Short-term investments [Member] | U.S. Government Sponsored Entities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 7,026 2,497
Short-term investments [Member] | Corporate debt securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 10,422 0
Long-term marketable securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 45,444 77,475
Long-term marketable securities [Member] | U.S. Treasuries [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 9,975 40,636
Long-term marketable securities [Member] | U.S. Government Sponsored Entities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 5,327 12,560
Long-term marketable securities [Member] | Corporate debt securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 22,832 17,750
Long-term marketable securities [Member] | Asset-backed securities and other [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 7,310 6,529
Recurring [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 141,903 152,490
Recurring [Member] | Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 9,947 9,987
Recurring [Member] | Money market funds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 131,956 142,503
Recurring [Member] | Assets held in rabbi trust [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Assets held in rabbi trust 8,545 7,337
Recurring [Member] | Short-term investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 82,813 27,454
Recurring [Member] | Short-term investments [Member] | U.S. Treasuries [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 65,365 24,957
Recurring [Member] | Short-term investments [Member] | U.S. Government Sponsored Entities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 7,026 2,497
Recurring [Member] | Short-term investments [Member] | Corporate debt securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 10,422 0
Recurring [Member] | Long-term marketable securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 45,444 77,475
Recurring [Member] | Long-term marketable securities [Member] | U.S. Treasuries [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 9,975 40,636
Recurring [Member] | Long-term marketable securities [Member] | U.S. Government Sponsored Entities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 5,327 12,560
Recurring [Member] | Long-term marketable securities [Member] | Corporate debt securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 22,832 17,750
Recurring [Member] | Long-term marketable securities [Member] | Asset-backed securities and other [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 7,310 6,529
Level 1 [Member] | Recurring [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 131,956 142,503
Level 1 [Member] | Recurring [Member] | Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 0 0
Level 1 [Member] | Recurring [Member] | Money market funds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 131,956 142,503
Level 1 [Member] | Recurring [Member] | Assets held in rabbi trust [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Assets held in rabbi trust 0 0
Level 1 [Member] | Recurring [Member] | Short-term investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 65,365 24,957
Level 1 [Member] | Recurring [Member] | Short-term investments [Member] | U.S. Treasuries [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 65,365 24,957
Level 1 [Member] | Recurring [Member] | Short-term investments [Member] | U.S. Government Sponsored Entities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 1 [Member] | Recurring [Member] | Short-term investments [Member] | Corporate debt securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 1 [Member] | Recurring [Member] | Long-term marketable securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 9,975 40,636
Level 1 [Member] | Recurring [Member] | Long-term marketable securities [Member] | U.S. Treasuries [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 9,975 40,636
Level 1 [Member] | Recurring [Member] | Long-term marketable securities [Member] | U.S. Government Sponsored Entities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 1 [Member] | Recurring [Member] | Long-term marketable securities [Member] | Corporate debt securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 1 [Member] | Recurring [Member] | Long-term marketable securities [Member] | Asset-backed securities and other [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 2 [Member] | Recurring [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 9,947 9,987
Level 2 [Member] | Recurring [Member] | Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 9,947 9,987
Level 2 [Member] | Recurring [Member] | Money market funds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 0 0
Level 2 [Member] | Recurring [Member] | Assets held in rabbi trust [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Assets held in rabbi trust 8,545 7,337
Level 2 [Member] | Recurring [Member] | Short-term investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 17,448 2,497
Level 2 [Member] | Recurring [Member] | Short-term investments [Member] | U.S. Treasuries [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 2 [Member] | Recurring [Member] | Short-term investments [Member] | U.S. Government Sponsored Entities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 7,026 2,497
Level 2 [Member] | Recurring [Member] | Short-term investments [Member] | Corporate debt securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 10,422 0
Level 2 [Member] | Recurring [Member] | Long-term marketable securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 35,469 36,839
Level 2 [Member] | Recurring [Member] | Long-term marketable securities [Member] | U.S. Treasuries [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 2 [Member] | Recurring [Member] | Long-term marketable securities [Member] | U.S. Government Sponsored Entities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 5,327 12,560
Level 2 [Member] | Recurring [Member] | Long-term marketable securities [Member] | Corporate debt securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 22,832 17,750
Level 2 [Member] | Recurring [Member] | Long-term marketable securities [Member] | Asset-backed securities and other [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 7,310 6,529
Level 3 [Member] | Recurring [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 0 0
Level 3 [Member] | Recurring [Member] | Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 0 0
Level 3 [Member] | Recurring [Member] | Money market funds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 0 0
Level 3 [Member] | Recurring [Member] | Assets held in rabbi trust [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Assets held in rabbi trust 0 0
Level 3 [Member] | Recurring [Member] | Short-term investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 3 [Member] | Recurring [Member] | Short-term investments [Member] | U.S. Treasuries [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 3 [Member] | Recurring [Member] | Short-term investments [Member] | U.S. Government Sponsored Entities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 3 [Member] | Recurring [Member] | Short-term investments [Member] | Corporate debt securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 3 [Member] | Recurring [Member] | Long-term marketable securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 3 [Member] | Recurring [Member] | Long-term marketable securities [Member] | U.S. Treasuries [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 3 [Member] | Recurring [Member] | Long-term marketable securities [Member] | U.S. Government Sponsored Entities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 3 [Member] | Recurring [Member] | Long-term marketable securities [Member] | Corporate debt securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 0 0
Level 3 [Member] | Recurring [Member] | Long-term marketable securities [Member] | Asset-backed securities and other [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale $ 0 $ 0