v3.8.0.1

Net (Loss) Income per Share Attributable to Common Stockholders (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2018
Earnings Per Share [Abstract] |
Schedule of Earnings Per Share, Basic and Diluted | The calculations of basic and diluted net income per share and basic and dilutive weighted-average shares outstanding for the three months ended March 31, 2018 and April 1, 2017 were as follows (in thousands, except per share data):
| Three Months Ended
| March 31, 2018 |  | April 1, 2017
Numerator: |  |  |
Basic: |  |  |
Net income attributable to common stockholders | $ | 1,741 |  |  | $ | 192 |
Dilutive |  |  |
Net income attributable to common stockholders | $ | 1,741 |  |  | $ | 192 |
Plus: undistributed earnings allocated to participating securities | 956 |  |  | 632 |
Less: undistributed earnings reallocated to participating securities | (936 | ) |  | (630 | )
Net income attributable to common stockholders | $ | 1,761 |  |  | $ | 194 |
Denominator: |  |  |
Weighted-average shares outstanding - basic | 30,551 |  |  | 29,149 |
Dilutive impact from: |  |  |
Options outstanding | 2,044 |  |  | 1,705 |
Restricted stock units | 749 |  |  | 428 |
Weighted-average shares outstanding - dilutive | 33,344 |  |  | 31,282 |
Net income per share attributable to common stockholders (Basic) | $ | 0.06 |  |  | $ | 0.01 |
Net income per share attributable to common stockholders (Diluted) | $ | 0.05 |  |  | $ | 0.01 |
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 because their effect would have been antidilutive for the periods presented (in thousands):
| Three Months Ended
| March 31, 2018 |  | April 1, 2017
Stock options | 954 |  |  | 2,962 |
Restricted stock units | 294 |  |  | 1,391 |
Series A Redeemable Convertible Preferred Stock (as converted to common stock) | 4,851 |  |  | 4,596 |
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