Stockholders' Equity and Stock-Based Compensation - Summary of Stock Option Activity (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
9 Months Ended |
12 Months Ended |
Sep. 30, 2016 |
Dec. 31, 2015 |
| Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] |
|
|
| Shares Underlying Options, Outstanding, Beginning Balance |
4,101
|
|
| Shares Underlying Options, Granted |
232
|
|
| Shares Underlying Options, Exercised |
(632)
|
|
| Shares Underlying Options, Forfeited or Cancelled |
(440)
|
|
| Shares Underlying Options, Outstanding, Ending Balance |
3,261
|
4,101
|
| Shares Underlying Options, Vested and Expected to Vest |
3,147
|
|
| Shares Underlying Options, Exercisable |
1,747
|
|
| Weighted-Average Exercise Price, Outstanding, Beginning Balance |
$ 6.58
|
|
| Weighted-Average Exercise Price, Granted |
13.79
|
|
| Weighted-Average Exercise Price, Exercised |
3.73
|
|
| Weighted-Average Exercise Price, Forfeited or Cancelled |
11.24
|
|
| Weighted-Average Exercise Price, Outstanding, Ending Balance |
7.02
|
$ 6.58
|
| Weighted-Average Exercise Price, Vested and Expected to Vest |
6.85
|
|
| Weighted-Average Exercise Price, Exercisable |
$ 4.51
|
|
| Weighted-Average Remaining Life, Outstanding |
7 years 8 months 12 days
|
8 years 3 months 18 days
|
| Weighted-Average Remaining Life, Vested and Expected to Vest |
7 years 7 months 6 days
|
|
| Weighted-Average Remaining Life, Exercisable |
7 years
|
|
| Aggregate Intrinsic Value, Outstanding |
$ 59,868
|
$ 58,417
|
| Aggregate Intrinsic Value, Vested and Expected to Vest |
58,291
|
|
| Aggregate Intrinsic Value, Exercisable |
$ 36,451
|
|