Annual report pursuant to Section 13 and 15(d)

Equity Incentive Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Schedule of Employee Stock Options Valuation (Details)

v3.19.1
Equity Incentive Plans, Employee Stock Purchase Plan and Stock-Based Compensation - Schedule of Employee Stock Options Valuation (Details)
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Line Items]      
Expected volatility, Minimum 54.57% 56.52% 58.00%
Expected volatility, Maximum 62.38% 58.55% 59.00%
Risk-free interest rate, Minimum 2.67% 1.89% 1.24%
Risk-free interest rate, Maximum 3.11% 2.18% 2.09%
Minimum      
Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Line Items]      
Expected term (in years) 5 years 3 months 18 days 5 years 6 months 5 years 6 months
Maximum      
Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Line Items]      
Expected term (in years) 6 years 1 month 6 days 6 years 1 month 6 days 6 years 1 month 6 days