Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity - Additional Information (Details)

v3.6.0.2
Stockholders' Equity - Additional Information (Details)
12 Months Ended
Feb. 20, 2014
shares
Dec. 31, 2016
USD ($)
Vote
shares
Dec. 31, 2015
USD ($)
shares
Dec. 31, 2014
USD ($)
Class Of Stock [Line Items]        
Number of voting rights per share of common stock | Vote   1    
Preferred stock, shares authorized   10,000,000    
Preferred stock, shares issued   0    
Preferred stock, shares outstanding   0    
Dividends declared | $   $ 0 $ 0 $ 0
Rate of reduced stock-based compensation expense for estimated forfeiture   6.90% 7.50% 6.90%
Share-based compensation, unrecognized expense, nonvested granted awards | $   $ 16,057,000 $ 12,095,000 $ 4,948,000
Total weighted average fair value of stock options granted | $   $ 6,408,000 $ 2,428,000 5,329,000
Number of warrants   0 0  
Fair value of preferred warrant liability | $   $ 0 $ 0  
Change in fair value of preferred stock warrant liability | $   0 0 36,000
Other comprehensive income (loss) foreign currency hedging and available-for-sale investments, net of tax | $   (35,000) (37,000)  
401(k) Retirement Savings Plan        
Class Of Stock [Line Items]        
Defined benefit Plan, contributions by employer | $   $ 0 $ 0 $ 0
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   412,248    
Number of equity awards available for grant   0    
2002 Plan        
Class Of Stock [Line Items]        
Stock option shares outstanding   151,384    
Number of equity awards available for grant   0    
2014 Plan        
Class Of Stock [Line Items]        
Stock option shares outstanding   1,791,895    
Number of equity awards available for grant   434,160    
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 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   791,296    
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   438,365    
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 equal to the least of: 179,069 shares; 1.5% of the outstanding shares of our common stock on the last day of our 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    
Initial Public Offering        
Class Of Stock [Line Items]        
Conversion of preferred stock to common stock in connection with initial public offering 14,259,647      
Redeemable Convertible Preferred Stock        
Class Of Stock [Line Items]        
Preferred stock, shares outstanding   0 0