v3.19.2

Net (Loss) Income per Share Attributable to Common Stockholders (Tables) | 6 Months Ended
--- | ---
Jun. 29, 2019
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 diluted weighted-average shares outstanding for the three and six months ended June 29, 2019 and June 30, 2018 were as follows (in thousands, except per share data):
| Three Months Ended |  | Six Months Ended
| June 29, 2019 |  | June 30, 2018 |  | June 29, 2019 |  | June 30, 2018
Numerator: |  |  |  |  |  |  |
Basic: |  |  |  |  |  |  |
Net (loss) income attributable to common stockholders | $ | (65,506 | ) |  | $ | (834 | ) |  | $ | (67,252 | ) |  | $ | 1,020 |
Diluted: |  |  |  |  |  |  |
Net (loss) income attributable to common stockholders | $ | (65,506 | ) |  | $ | (834 | ) |  | $ | (67,252 | ) |  | $ | 1,020 |
Plus: undistributed earnings allocated to participating securities | — |  |  | — |  |  | — |  |  | 1,508 |
Less: undistributed earnings reallocated to participating securities | — |  |  | — |  |  | — |  |  | (1,496 | )
Net (loss) income attributable to common stockholders | $ | (65,506 | ) |  | $ | (834 | ) |  | $ | (67,252 | ) |  | $ | 1,032 |
Denominator: |  |  |  |  |  |  |
Weighted-average shares outstanding - basic | 32,537 |  |  | 30,591 |  |  | 32,373 |  |  | 30,792 |
Dilutive impact from: |  |  |  |  |  |  |
Options outstanding | — |  |  | — |  |  | — |  |  | 1,967 |
Restricted stock units | — |  |  | — |  |  | — |  |  | 727 |
Weighted-average shares outstanding - dilutive | 32,537 |  |  | 30,591 |  |  | 32,373 |  |  | 33,486 |
Net (loss) income per share attributable to common stockholders (Basic): | $ | (2.01 | ) |  | $ | (0.03 | ) |  | $ | (2.08 | ) |  | $ | 0.03 |
Net (loss) income per share attributable to common stockholders (Diluted): | $ | (2.01 | ) |  | $ | (0.03 | ) |  | $ | (2.08 | ) |  | $ | 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 anti-dilutive for the periods presented (in thousands).
| Three Months Ended |  | Six Months Ended
| June 29, 2019 |  | June 30, 2018 |  | June 29, 2019 |  | June 30, 2018
Stock options | 3,189 |  |  | 4,002 |  |  | 3,189 |  |  | 846 |
Restricted stock units | 2,412 |  |  | 2,514 |  |  | 2,412 |  |  | 684 |
Series A Redeemable Convertible Preferred Stock (as converted to common stock) | 5,183 |  |  | 4,915 |  |  | 5,183 |  |  | 4,915 |

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://fasb.org/us-gaap/role/ref/legacyRef -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://fasb.org/us-gaap/role/ref/legacyRef -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