Quarterly report pursuant to Section 13 or 15(d)

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

v3.8.0.1
Stockholders' Equity - Summary of Stock Options Activity (Details) - $ / shares
9 Months Ended 12 Months Ended
Sep. 30, 2017
Dec. 31, 2016
Class Of Stock [Line Items]    
Stock Options Outstanding, Beginning balance 2,355,527  
Stock Options, Granted 64,498  
Stock Options, Exercised (395,739)  
Stock Options, Forfeited (63,173)  
Stock Options, Expired (33)  
Stock Options Outstanding, Ending balance 1,961,080 2,355,527
Stock Options, Vested and exercisable 1,166,512  
Stock Options, Vested and expected to vest 1,907,844  
Price per share, Granted $ 83.30  
Price per share, Expired 8.70  
Outstanding, Weighted-average exercise price, Beginning balance 28.22  
Weighted-average exercise price, Granted 83.30  
Weighted-average exercise price, Exercised 23.48  
Weighted-average exercise price, Forfeited 43.74  
Weighted-average exercise price, Expired 8.70  
Outstanding, Weighted-average exercise price, Ending balance 30.49 $ 28.22
Weighted-average exercise price, Vested and exercisable 22.89  
Weighted-average exercise price, Vested and expected to vest $ 30.20  
Remaining weighted-average contractual term, Outstanding 4 years 9 months 29 days 5 years 5 months 1 day
Remaining weighted-average contractual term, Vested and exercisable 4 years 7 months 17 days  
Remaining weighted-average contractual term, Vested and expected to vest 4 years 9 months 26 days  
Outstanding, Per share average intrinsic value $ 64.61 $ 38.95
Per share average intrinsic value, Vested and exercisable 72.21  
Per share average intrinsic value, Vested and expected to vest 64.90  
Minimum    
Class Of Stock [Line Items]    
Outstanding, Price per share, Beginning balance 0.60  
Price per share, Exercised 0.60  
Price per share, Forfeited 24.52  
Outstanding, Price per share, Ending balance 0.60 0.60
Price per share, Vested and exercisable 0.60  
Price per share, Vested and expected to vest 0.60  
Maximum    
Class Of Stock [Line Items]    
Outstanding, Price per share, Beginning balance 58.95  
Price per share, Exercised 56.72  
Price per share, Forfeited 58.95  
Outstanding, Price per share, Ending balance 83.30 $ 58.95
Price per share, Vested and exercisable 83.30  
Price per share, Vested and expected to vest $ 83.30