Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity and Share-Based Compensation - Summary of Stock Option Activity for AutoMD (Details)

v3.8.0.1
Stockholders' Equity and Share-Based Compensation - Summary of Stock Option Activity for AutoMD (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 30, 2017
Dec. 31, 2016
Shares    
Outstanding, beginning (in shares) 6,129 5,841
Granted (in shares) 1,445 1,000
Exercised (in shares) (1,074) (442)
Cancelled:    
Forfeited (in shares) (161) (149)
Expired (in shares) (406) (121)
Outstanding, ending (in shares) 5,933 6,129
Vested and expected to vest (in shares) 5,933 5,658
Exercisable (in shares) 3,704 4,220
Weighted Average Exercise Price    
Outstanding, beginning (in dollars per share) $ 2.81 $ 2.80
Granted (in dollars per share) 3.34 3.03
Exercised (in dollars per share) 1.67 2.06
Cancelled:    
Forfeited (in dollars per share) 2.16 2.47
Expired (in dollars per share) 6.50 7.66
Outstanding, ending (in dollars per share) 2.91 2.81
Vested and expected to vest (in dollars per share) 2.91 2.82
Exercisable (in dollars per share) $ 2.78 $ 2.92
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]    
Outstanding, weighted average contractual term 6 years 3 months 10 days 5 years 8 months 27 days
Vested and expected to vest, weighted average contractual term 6 years 3 months 10 days 5 years 5 months 27 days
Exercisable, weighted average contractual term 4 years 9 months 13 days 4 years 5 months 27 days
Outstanding, aggregate intrinsic value $ 1,337 $ 6,561
Vested and expected to vest, aggregate intrinsic value 1,337 6,111
Exercisable, aggregate intrinsic value $ 1,236 $ 4,618
AutoMd 2014 Equity Incentive Plan    
Shares    
Outstanding, beginning (in shares) 1,405 1,430
Granted (in shares) 0 10
Exercised (in shares) 0 0
Cancelled:    
Forfeited (in shares) (1,405) (35)
Expired (in shares) 0 0
Outstanding, ending (in shares) 0 1,405
Vested and expected to vest (in shares) 0 1,044
Exercisable (in shares) 0 632
Weighted Average Exercise Price    
Outstanding, beginning (in dollars per share) $ 1.00 $ 1.00
Granted (in dollars per share) 0.00 1.00
Exercised (in dollars per share) 0.00 0.00
Cancelled:    
Forfeited (in dollars per share) 1.00 1.00
Expired (in dollars per share) 0.00 0.00
Outstanding, ending (in dollars per share) 0.00 1.00
Vested and expected to vest (in dollars per share) 0.00 1.00
Exercisable (in dollars per share) $ 0.00 $ 1.00
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]    
Outstanding, weighted average contractual term 0 years 8 years 2 months 12 days
Vested and expected to vest, weighted average contractual term 0 years 8 years 2 months 9 days
Exercisable, weighted average contractual term 0 years 8 years 1 month 21 days
Outstanding, aggregate intrinsic value $ 0 $ 0
Vested and expected to vest, aggregate intrinsic value 0 0
Exercisable, aggregate intrinsic value $ 0 $ 0