Stockholders’ Equity - Summary of Stock-based Compensation in Accompanying Consolidated Statements (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 29, 2019 |
Jun. 30, 2018 |
Jun. 29, 2019 |
Jun. 30, 2018 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Stock-based compensation | $ 7,282 | $ 4,988 | $ 11,336 | $ 8,700 |
| Cost of revenue | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Stock-based compensation | 112 | 68 | 210 | 132 |
| Selling and marketing | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Stock-based compensation | 637 | 722 | 1,272 | 1,196 |
| Research and development | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Stock-based compensation | 5,144 | 1,220 | 6,560 | 2,029 |
| General and administrative | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Stock-based compensation | $ 1,389 | $ 2,978 | $ 3,294 | $ 5,343 |