Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Details)

v3.7.0.1
Stockholders' Equity - Additional Information (Details) - USD ($)
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Class Of Stock [Line Items]    
Stock-based compensation, unrecognized expense, nonvested granted awards $ 13,285,000 $ 19,067,000
401(k) Retirement Savings Plan    
Class Of Stock [Line Items]    
Defined benefit Plan, contributions by employer $ 293,000 $ 0
Restricted stock units    
Class Of Stock [Line Items]    
Weighted-average grant date fair value per share $ 73.26  
Unrecognized compensation cost related to unvested employee excluding estimated forfeitures $ 345,000  
Amount expected to recognized over weighted-average period 3 years 6 months  
Rate of reduced stock-based compensation expense for estimated forfeiture 5.70%  
Grants of units unvested 5,700 0
Stock options    
Class Of Stock [Line Items]    
Rate of reduced stock-based compensation expense for estimated forfeiture 7.30% 7.30%
Maximum    
Class Of Stock [Line Items]    
Stock option period, expiration 10 years  
Stock option period, vested 4 years  
Minimum    
Class Of Stock [Line Items]    
Stock option period, expiration 7 years  
Stock option period, vested 1 year  
2012 Plan    
Class Of Stock [Line Items]    
Stock option shares outstanding 352,744  
Number of equity awards available for grant 0  
2002 Plan    
Class Of Stock [Line Items]    
Stock option shares outstanding 96,472  
Number of equity awards available for grant 0  
2014 Plan    
Class Of Stock [Line Items]    
Stock option shares outstanding 1,605,920  
Number of equity awards available for grant 1,242,013  
Terms of shares available for issuance The number of shares available for issuance under the 2014 Plan also is increased annually on the first day of each fiscal year by an amount equal to the least of: 895,346 shares; 4% of the outstanding shares of common stock as of the last day of the Company’s immediately preceding fiscal year; or such other amount as the Company’s board of directors may determine.  
Common stock capital shares reserved for future issuance maximum annual increase 895,346  
Percentage on outstanding shares of common stock 4.00%  
Number of additional number of shares reserve to provision 815,594  
2012 Plan and 2002 Plan | Maximum    
Class Of Stock [Line Items]    
Stock option shares outstanding 2,328,569  
2014 ESPP Plan    
Class Of Stock [Line Items]    
Number of equity awards available for grant 605,629  
Terms of shares available for issuance The number of shares available for sale under the ESPP is increased annually on the first day of each fiscal year by an amount equal to the least of: 179,069 shares; 1.5% of the outstanding shares of the Company’s common stock on the last day of the Company’s immediately preceding fiscal year; or such other amount as may be determined by the administrator.  
Percentage on outstanding shares of common stock 1.50%  
Number of additional number of shares reserve to provision 179,069  
Maximum percentage of common stock eligible to purchase through payroll deductions for participants 15.00%  
Maximum number of shares available for participant to purchase during period 1,500  
Purchase price as percentage of stock price on offering period 85.00%  
Purchase price as percentage of stock price on exercise date 85.00%  
Potential increase of shares available for issuance 179,069