| Fair Value, Measurement Inputs, Disclosure [Table Text Block] |
Assets and liabilities measured at fair value on a recurring basis were as follows:
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of June 29, 2019 | | As of June 30, 2018 | | Fair Value | | | | Fair Value | | | | Measurements Using | | Total | | Measurements Using | | Total | | Level 1 | | Level 2 | | Level 3 | | | Level 1 | | Level 2 | | Level 3 | | | (in thousands) | Assets | | | | | | | | | | | | | | | | Cash and cash equivalents | | | | | | | | | | | | | | | | Agency securities | $ | — |
| | $ | — |
| | $ | — |
| | $ | — |
| | $ | — |
| | $ | 13,946 |
| | $ | — |
| | $ | 13,946 |
| Certificates of deposit | — |
| | — |
| | — |
| | — |
| | — |
| | 6,000 |
| | — |
| | 6,000 |
| Commercial paper | — |
| | — |
| | — |
| | — |
| | — |
| | 45,063 |
| | — |
| | 45,063 |
| Corporate debt securities | — |
| | — |
| | — |
| | — |
| | — |
| | 3,819 |
| | — |
| | 3,819 |
| Money market funds | 186,819 |
| | — |
| | — |
| | 186,819 |
| | 98,467 |
| | — |
| | — |
| | 98,467 |
| U.S. Treasury securities | — |
| | — |
| | — |
| | — |
| | — |
| | 30,988 |
| | — |
| | 30,988 |
| Short term investments | | | | | | | | | | | | | | | | Certificates of deposit | — |
| | 1,000 |
| | — |
| | 1,000 |
| | — |
| | 52,428 |
| | — |
| | 52,428 |
| Commercial paper | — |
| | — |
| | — |
| | — |
| | — |
| | 64,354 |
| | — |
| | 64,354 |
| Corporate debt securities | — |
| | 139,990 |
| | — |
| | 139,990 |
| | — |
| | 367,765 |
| | — |
| | 367,765 |
| U.S. Treasury securities | — |
| | — |
| | — |
| | — |
| | — |
| | 598,368 |
| | — |
| | 598,368 |
| Other current assets | | | | | | | | | | | | | | | | Foreign currency forward contracts | — |
| | 651 |
| | — |
| | 651 |
| | — |
| | 235 |
| | — |
| | 235 |
| Total | $ | 186,819 |
| | $ | 141,641 |
| | $ | — |
| | $ | 328,460 |
| | $ | 98,467 |
| | $ | 1,182,966 |
| | $ | — |
| | $ | 1,281,433 |
| | | | | | | | | | | | | | | | | Liabilities | | | | | | | | | | | | | | | | Accrued expenses | | | | | | | | | | | | | | | | Foreign currency forward contracts | $ | — |
| | $ | 148 |
| | $ | — |
| | $ | 148 |
| | $ | — |
| | $ | 1,845 |
| | $ | — |
| | $ | 1,845 |
| Contingent consideration | — |
| | — |
| | 9,052 |
| | 9,052 |
| | — |
| | — |
| | 8,000 |
| | 8,000 |
| Other liabilities | | | | | | | | | | | | | | | | Contingent consideration | — |
| | — |
| | — |
| | — |
| | — |
| | — |
| | 8,000 |
| | 8,000 |
| Total | $ | — |
| | $ | 148 |
| | $ | 9,052 |
| | $ | 9,200 |
| | $ | — |
| | $ | 1,845 |
| | $ | 16,000 |
| | $ | 17,845 |
|
|