Stock-based Awards - Schedule of Stock-based Compensation Cost Relating to Stock Options, Restricted Stock Awards, and RSUs (Details) - USD ($) $ in Thousands |
12 Months Ended |
Dec. 31, 2015 |
Dec. 31, 2014 |
Dec. 31, 2013 |
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
|
|
|
| Total stock-based compensation expense |
$ 42,563
|
$ 29,333
|
$ 9,346
|
| Amount capitalized to internal-use software |
1,325
|
1,249
|
540
|
| Total stock-based compensation cost |
43,888
|
30,582
|
9,886
|
| Cost of revenue |
|
|
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
|
|
|
| Total stock-based compensation expense |
792
|
454
|
141
|
| Sales and marketing |
|
|
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
|
|
|
| Total stock-based compensation expense |
4,493
|
4,743
|
2,561
|
| Technology and development |
|
|
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
|
|
|
| Total stock-based compensation expense |
4,294
|
5,013
|
1,762
|
| General and administrative |
|
|
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
|
|
|
| Total stock-based compensation expense |
$ 32,984
|
$ 19,123
|
$ 4,882
|