Equity Compensation (Details) (Stock options, USD $)
6 Months Ended 0 Months Ended
Jun. 30, 2014
Jan. 02, 2014
2013 Plan
Jun. 11, 2013
2013 Plan
Stock options      
Annual increase in shares authorized for issuance as a percentage of shares outstanding as of the preceding December 31     5.00%
Increase in number of shares authorized for issuance   1,139,255  
Shares Subject to Options Outstanding      
Balance at the beginning of the period (in shares) 4,905,214    
Granted (in shares) 838,878    
Exercised (in shares) (997,960)    
Expired (in shares) (136)    
Forfeited (in shares) (48,189)    
Balance at the end of the period (in shares) 4,697,807    
Exercisable options (in shares) 2,694,980    
Vested and expected to vest at the end of the period (in shares) 4,507,086    
Weighted Average Grant Date Fair Value      
Granted (in dollars per share) $ 11.72    
Weighted Average Exercise Price      
Balance at the beginning of the period (in dollars per share) $ 6.31    
Granted (in dollars per share) $ 20.68    
Exercised (in dollars per share) $ 4.25    
Expired (in dollars per share) $ 7.40    
Forfeited (in dollars per share) $ 16.69    
Balance at the end of the period (in dollars per share) $ 9.18    
Exercisable options at the end of the period (in dollars per share) $ 5.62    
Vested and expected to vest (in dollars per share) $ 8.90    
Weighted-Average Remaining Contractual Life      
Exercisable options 5 years 1 month 6 days    
Vested and expected to vest 6 years 6 months