Annual report pursuant to Section 13 and 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
Dec. 31, 2017
Dec. 31, 2016
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Assets held in rabbi trust $ 8,787 $ 7,337
Marketable securities, available for sale 125,659 104,929
Short-term investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 73,560 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 57,624 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,008 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 8,928 0
Long-term marketable securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 52,099 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 17,954 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,244 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,719 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 6,182 6,529
Recurring [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 169,229 152,490
Recurring [Member] | Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 11,441 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 157,788 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,787 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 73,560 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 57,624 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,008 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 8,928 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 52,099 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 17,954 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,244 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,719 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 6,182 6,529
Level 1 [Member] | Recurring [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 157,788 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 157,788 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 57,624 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 57,624 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 17,954 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 17,954 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 11,441 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 11,441 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,787 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 15,936 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,008 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 8,928 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 34,145 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,244 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,719 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 6,182 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