v3.8.0.1
Stockholders' Equity (Details) - $ / shares
3 Months Ended
Jan. 01, 2018
Jan. 01, 2017
Mar. 31, 2018
Dec. 31, 2017
Stockholders' Equity        
Authorized shares of capital stock     205,000,000  
Authorized shares of common stock     200,000,000 200,000,000
Authorized shares of preferred stock     5,000,000 5,000,000
Shares of common stock reserved for future issuance        
Outstanding stock options     4,334,612  
Possible future issuance under 2014 Equity Incentive Plan     7,056,832  
Outstanding restricted stock units     1,281,880  
Available for future issuance under employee stock purchase plan     1,000,000  
Total shares of common stock reserved for future issuance     13,673,324  
Stock options        
Stockholders equity compensation        
Granted (in shares)     8,731  
Weighted-average exercise price (in dollars per share)     $ 64.51  
Equity Incentive Plan 2014 | Stock options        
Stockholders equity compensation        
Granted (in shares) 2,625,292      
Weighted-average exercise price (in dollars per share)   $ 2,357,579.00