v3.23.1

Cash, cash equivalents and short-term investments - Summary of Components of Cash, Cash Equivalents, and Short-Term Investments (Details) - USD ($) $ in Thousands | Mar. 31, 2023 | Jun. 24, 2022 | Mar. 25, 2022
--- | --- | --- | ---
Cash and Cash Equivalents [Line Items] |  |  |
Carrying cost, total | $ 312,218 | $ 286,173 |
Cash and cash equivalents and marketable securities, carrying cost | 542,971 | 484,170 |
Unrealized Gain/ (Loss) | (4,248) | (6,017) |
Cash and cash equivalents | 230,743 | 197,996 | $ 269,140
Marketable Securities | 267,452 | 248,680 |
Other Investments | 40,528 | 31,477 |
Cash |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying Cost | 211,433 | 187,630 |
Cash and cash equivalents | 211,433 | 187,630 |
Cash equivalents |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying Cost | 19,320 | 10,367 |
Unrealized Gain/ (Loss) | (10) | (1) |
Cash and cash equivalents | 19,310 | 10,366 |
Liquidity funds |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying Cost | 40,528 | 31,477 |
Unrealized Gain/ (Loss) |  | 0 |
Other Investments | 40,528 | 31,477 |
Certificates of deposit and time deposits |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying cost, total | 44,341 |  |
Unrealized Gain/ (Loss) | 43 |  |
Marketable Securities | 44,384 |  |
Corporate debt securities |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying cost, total | 215,295 | 234,689 |
Unrealized Gain/ (Loss) | (4,127) | (5,671) |
Marketable Securities | 211,168 | 229,018 |
U.S. agency and U.S. treasury securities |  |  |
Cash and Cash Equivalents [Line Items] |  |  |
Carrying cost, total | 12,054 | 20,007 |
Unrealized Gain/ (Loss) | (154) | (345) |
Marketable Securities | $ 11,900 | $ 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_InterestBearingDepositsMember
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: |