Stockholders’ Equity - Summary of Stock-based Compensation in Accompanying Consolidated Statements (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 29, 2018 |
Sep. 30, 2017 |
Sep. 29, 2018 |
Sep. 30, 2017 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Stock-based compensation | $ 4,281 | $ 3,035 | $ 12,981 | $ 6,586 |
| Cost of revenue | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Stock-based compensation | 87 | 117 | 219 | 314 |
| Selling and marketing | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Stock-based compensation | 631 | 287 | 1,827 | 828 |
| Research and development | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Stock-based compensation | 1,105 | 487 | 3,134 | 1,138 |
| General and administrative | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Stock-based compensation | $ 2,458 | $ 2,144 | $ 7,801 | $ 4,306 |