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
Mar. 31, 2018
Dec. 31, 2017
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Assets held in rabbi trust $ 8,756 $ 8,787
Marketable securities, available for sale 130,399 125,659
Short-term investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 94,826 73,560
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 72,173 57,624
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 10,501 7,008
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 12,152 8,928
Long-term marketable securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 35,573 52,099
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 4,393 17,954
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 1,670 5,244
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 23,056 22,719
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,454 6,182
Recurring [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 172,972 169,229
Recurring [Member] | Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 7,945 11,441
Recurring [Member] | Money market funds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 165,027 157,788
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,756 8,787
Recurring [Member] | Short-term investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Marketable securities, available for sale 94,826 73,560
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 72,173 57,624
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 10,501 7,008
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 12,152 8,928
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,573 52,099
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 4,393 17,954
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 1,670 5,244
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 23,056 22,719
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,454 6,182
Level 1 [Member] | Recurring [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents 165,027 157,788
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 165,027 157,788
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 72,173 57,624
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 72,173 57,624
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 4,393 17,954
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 4,393 17,954
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 7,945 11,441
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 7,945 11,441
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,756 8,787
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 22,653 15,936
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 10,501 7,008
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 12,152 8,928
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 31,180 34,145
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 1,670 5,244
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 23,056 22,719
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,454 6,182
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