v3.10.0.1

Net (Loss) Income per Share Attributable to Common Stockholders (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2018
Earnings Per Share [Abstract] |
Schedule of Earnings Per Share, Basic and Diluted | The calculations of basic and diluted net (loss) income per share and basic and dilutive weighted-average shares outstanding for the three and six months ended June 30, 2018 and July 1, 2017 were as follows (in thousands, except per share data):
| Three Months Ended |  | Six Months Ended
| June 30, 2018 |  | July 1, 2017 |  | June 30, 2018 |  | July 1, 2017
Numerator: |  |  |  |  |  |  |
Basic: |  |  |  |  |  |  |
Net (loss) income attributable to common stockholders | $ | (834 | ) |  | $ | 874 |  |  | $ | 1,020 |  |  | $ | 1,066 |
Dilutive: |  |  |  |  |  |  |
Net (loss) income attributable to common stockholders | $ | (834 | ) |  | $ | 874 |  |  | $ | 1,020 |  |  | $ | 1,066 |
Plus: undistributed earnings allocated to participating securities | — |  |  | 799 |  |  | 1,508 |  |  | 1,431 |
Less: undistributed earnings reallocated to participating securities | — |  |  | (788 | ) |  | (1,496 | ) |  | (1,420 | )
Net (loss) income attributable to common stockholders | $ | (834 | ) |  | $ | 885 |  |  | $ | 1,032 |  |  | $ | 1,077 |
Denominator: |  |  |  |  |  |  |
Weighted-average shares outstanding - basic | 30,591 |  |  | 29,556 |  |  | 30,792 |  |  | 29,352 |
Dilutive impact from: |  |  |  |  |  |  |
Options outstanding | — |  |  | 1,962 |  |  | 1,967 |  |  | 1,786 |
Restricted stock units | — |  |  | 702 |  |  | 727 |  |  | 608 |
Weighted-average shares outstanding - dilutive | 30,591 |  |  | 32,220 |  |  | 33,486 |  |  | 31,746 |
Net (loss) income per share attributable to common stockholders (Basic): | $ | (0.03 | ) |  | $ | 0.03 |  |  | $ | 0.03 |  |  | $ | 0.04 |
Net (loss) income per share attributable to common stockholders (Diluted): | $ | (0.03 | ) |  | $ | 0.03 |  |  | $ | 0.03 |  |  | $ | 0.03 |
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share | The following equity shares were excluded from the calculation of diluted net income per share attributable to common stockholders because their effect would have been antidilutive for the periods presented (in thousands):
| Three Months Ended |  | Six Months Ended
| June 30, 2018 |  | July 1, 2017 |  | June 30, 2018 |  | July 1, 2017
Stock options | 4,002 |  |  | 1,398 |  |  | 971 |  |  | 1,292 |
Restricted stock units | 2,514 |  |  | 24 |  |  | 685 |  |  | 14 |
Series A Redeemable Convertible Preferred Stock (as converted to common stock) | 4,915 |  |  | 4,659 |  |  | 4,915 |  |  | 4,659 |
The Series A Preferred Stock is considered antidilutive due to the fact that the two-class method was more dilutive when calculating dilutive net income per share attributable to common stockholders.

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration