Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Schedule of Fair Value Assets and Liabilities Measured on Recurring Basis (Detail)

v3.19.1
Summary of Significant Accounting Policies - Schedule of Fair Value Assets and Liabilities Measured on Recurring Basis (Detail) - USD ($)
$ in Thousands
Mar. 31, 2019
Dec. 31, 2018
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value $ 255,777 $ 175,619
Cash Equivalents [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 116,595 45,950
Cash Equivalents [Member] | Money Market Funds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 113,114 39,481
Cash Equivalents [Member] | U.S. and Foreign Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 3,481 6,469
Short-term Investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 139,182 129,669
Short-term Investments [Member] | U.S. and Foreign Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 52,158 51,627
Short-term Investments [Member] | U.S. and Foreign Corporate Debt Securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 38,318 34,634
Short-term Investments [Member] | Asset-backed Securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 25,400 25,472
Short-term Investments [Member] | U.S. Treasury Securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 23,306 17,936
Level 1 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 113,114 39,481
Level 1 [Member] | Cash Equivalents [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 113,114 39,481
Level 1 [Member] | Cash Equivalents [Member] | Money Market Funds [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 113,114 39,481
Level 2 [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 142,663 136,138
Level 2 [Member] | Cash Equivalents [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 3,481 6,469
Level 2 [Member] | Cash Equivalents [Member] | U.S. and Foreign Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 3,481 6,469
Level 2 [Member] | Short-term Investments [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 139,182 129,669
Level 2 [Member] | Short-term Investments [Member] | U.S. and Foreign Commercial Paper [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 52,158 51,627
Level 2 [Member] | Short-term Investments [Member] | U.S. and Foreign Corporate Debt Securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 38,318 34,634
Level 2 [Member] | Short-term Investments [Member] | Asset-backed Securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value 25,400 25,472
Level 2 [Member] | Short-term Investments [Member] | U.S. Treasury Securities [Member]    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets measured at fair value $ 23,306 $ 17,936