Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity - Summary of Stock Options Activity (Details)

v3.6.0.2
Stockholders' Equity - Summary of Stock Options Activity (Details) - $ / shares
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Class Of Stock [Line Items]        
Stock Options Outstanding, Beginning balance 2,295,370 2,261,633 2,328,675  
Stock Options, Granted 683,998 759,301 754,916  
Stock Options, Exercised (570,079) (676,715) (736,519)  
Stock Options, Forfeited (53,247) (48,849) (80,640)  
Stock Options, Expired (515)   (4,799)  
Stock Options Outstanding, Ending balance 2,355,527 2,295,370 2,261,633 2,328,675
Stock Options, Vested and exercisable 1,023,865 933,707 1,100,539  
Stock Options, Vested and expected to vest 2,259,811 2,179,294 2,144,974  
Price per share, Expired $ 8.70      
Outstanding, Weighted average exercise price, Beginning balance 19.36 $ 7.31 $ 1.94  
Weighted average exercise price, Granted 44.70 39.91 17.81  
Weighted average exercise price, Exercised 12.32 2.39 1.28  
Weighted average exercise price, Forfeited 28.09 16.28 5.81  
Weighted average exercise price, Expired 8.70   1.09  
Outstanding, Weighted average exercise price, Ending balance 28.22 19.36 7.31 $ 1.94
Weighted average exercise price, Vested and exercisable 16.61 7.16 2.02  
Weighted average exercise price, Vested and expected to vest $ 27.95 $ 19.15 $ 7.19  
Remaining weighted average contractual term, Outstanding 5 years 5 months 1 day 5 years 11 months 23 days 6 years 5 months 5 days 7 years 15 days
Remaining weighted average contractual term, Vested and exercisable 4 years 11 months 16 days 5 years 6 months 18 days 5 years 8 months 23 days  
Remaining weighted average contractual term, Vested and expected to vest 5 years 4 months 24 days 5 years 11 months 16 days 6 years 4 months 17 days  
Outstanding, Per share average intrinsic value $ 38.95 $ 21.07 $ 24.06 $ 10.23
Per share average intrinsic value, Vested and exercisable 50.56 32.97 29.35  
Per share average intrinsic value, Vested and expected to vest 39.22 21.27 24.18  
Minimum        
Class Of Stock [Line Items]        
Outstanding, Price per share, Beginning balance 0.60 0.60 0.60  
Price per share, Granted 44.19 37.10 16.62  
Price per share, Exercised 0.60 0.60 0.60  
Price per share, Forfeited 1.17 0.75 0.60  
Price per share, Expired     0.60  
Outstanding, Price per share, Ending balance 0.60 0.60 0.60 0.60
Price per share, Vested and exercisable 0.60 0.60 0.60  
Price per share, Vested and expected to vest 0.60 0.60 0.60  
Maximum        
Class Of Stock [Line Items]        
Outstanding, Price per share, Beginning balance 46.66 24.52 8.70  
Price per share, Granted 58.95 46.66 24.52  
Price per share, Exercised 46.66 24.52 16.62  
Price per share, Forfeited 44.19 38.54    
Price per share, Expired     8.37  
Outstanding, Price per share, Ending balance 58.95 46.66 24.52 $ 8.70
Price per share, Vested and exercisable 46.66 46.66 18.93  
Price per share, Vested and expected to vest $ 46.66 $ 46.66 $ 24.52