Consolidated Balance Sheets (Parenthetical) - USD ($) $ in Thousands |
Jun. 30, 2018 |
Jul. 01, 2017 |
|---|---|---|
| Statement of Financial Position [Abstract] | ||
| Allowance for doubtful accounts | $ 2,697 | $ 3,022 |
| Preferred stock, shares authorized (in shares) | 5,000,000 | 5,000,000 |
| Preferred stock, par value (in dollars per share) | $ 1.00 | $ 1.00 |
| Preferred stock, shares issued (in shares) | 0 | 0 |
| Common stock, shares authorized (in shares) | 100,000,000 | 100,000,000 |
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 |
| Common stock, shares outstanding (in shares) | 15,234,162.000 | 15,140,665.000 |
| Common stock, shares issued (in shares) | 27,021,405.000 | 26,880,264.000 |
| Treasury stock, shares (in shares) | 11,787,243.000 | 11,739,599.000 |