v3.22.4

Cash, cash equivalents and short-term investments - Summary of Components of Cash, Cash Equivalents, and Short-Term Investments (Details) - USD ($) $ in Thousands | Dec. 30, 2022 | Jun. 24, 2022 | Dec. 24, 2021
--- | --- | --- | ---
Cash and Cash Equivalents [Line Items] |  |  |
Carrying cost, total | $ 283,074 | $ 286,173 |
Cash and cash equivalents and marketable securities, carrying cost | 533,903 | 484,170 |
Unrealized Gain/ (Loss) | (6,296) | (6,017) |
Cash and cash equivalents | 250,829 | 197,996 | $ 276,531
Marketable Securities | 246,651 | 248,680 |
Other Investments | 30,127 | 31,477 |
Cash |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying Cost | 236,504 | 187,630 |
Cash and cash equivalents | 236,504 | 187,630 |
Cash equivalents |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying Cost | 14,325 | 10,367 |
Unrealized Gain/ (Loss) | 0 | (1) |
Cash and cash equivalents | 14,325 | 10,366 |
Liquidity funds |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying Cost | 30,127 | 31,477 |
Unrealized Gain/ (Loss) |  | 0 |
Other Investments | 30,127 | 31,477 |
Corporate debt securities |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying cost, total | 242,902 | 234,689 |
Unrealized Gain/ (Loss) | (5,991) | (5,671) |
Marketable Securities | 236,911 | 229,018 |
U.S. agency and U.S. treasury securities |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying cost, total | 10,045 | 20,007 |
Unrealized Gain/ (Loss) | (305) | (345) |
Marketable Securities | $ 9,740 | $ 19,662 |

X
- Definition Cash and cash equivalents and marketable securities, carrying cost. + References No definition available. + Details
Name: | fn_CashAndCashEquivalentsAndMarketableSecuritiesCarryingCost
Namespace Prefix: | fn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash And Cash Equivalents, At Cost + References No definition available. + Details
Name: | fn_CashAndCashEquivalentsAtCost
Namespace Prefix: | fn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before tax, of unrealized gain (loss) in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References No definition available. + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of investment in marketable security, classified as current. + References No definition available. + Details
Name: | us-gaap_MarketableSecuritiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investments classified as other. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(12)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.1(f,g)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_OtherInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=fn_LiquidityFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=fn_USTreasurySecuritiesAndUSGovernmentAndAgencySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |