Stock-Based Awards - Schedule of Stock Option Activity (Detail) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2015
Dec. 31, 2014
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]    
Shares Issuable Under Options, Beginning balance 1,611,991  
Shares Issuable Under Options, Granted 680,231  
Shares Issuable Under Options, Exercised (141,848)  
Shares Issuable Under Options, Forfeited (34,855)  
Shares Issuable Under Options, Ending balance 2,115,519 1,611,991
Shares Issuable Under Options, Vested and expected to vest 2,078,345  
Shares Issuable Under Options, Exercisable 1,064,373  
Weighted Average Exercise Price, Beginning balance $ 5.24  
Weighted Average Exercise Price, Granted 28.47  
Weighted Average Exercise Price, Exercised 1.46  
Weighted Average Exercise Price, Forfeited 16.61  
Weighted Average Exercise Price, Ending balance 12.78 $ 5.24
Weighted Average Exercise Price, Vested and expected to vest 12.57  
Weighted Average Exercise Price, Exercisable $ 7.05  
Weighted Average Remaining Contractual Term, Beginning balance 6 years 10 months 24 days 6 years 6 months
Weighted Average Remaining Contractual Term, Vested and Expected to vest 6 years 10 months 2 days  
Weighted Average Remaining Contractual Term, Exercisable 5 years 8 months 12 days  
Aggregate Intrinsic Value, Beginning balance $ 29,464  
Aggregate Intrinsic Value, Ending balance 5,897 $ 29,464
Aggregate Intrinsic Value, Vested and Expected to vest 5,872  
Aggregate Intrinsic Value, Exercisable $ 4,984