v3.21.1

Restricted cash - Additional Information (Detail) € in Millions, ¥ in Millions | Mar. 26, 2021 USD ($) | Mar. 26, 2021 EUR (€) | Mar. 26, 2021 CNY (¥) | Jun. 26, 2020 USD ($) | Jun. 26, 2020 EUR (€)
--- | --- | --- | --- | --- | ---
Restricted Cash and Cash Equivalents Items [Line Items] |  |  |  |  |
Long-term restricted cash | $ 153,000 |  |  | $ 0 |
Outstanding letter of credit amount | 0 | € 6.0 |  |  | € 6.0
China |  |  |  |  |
Restricted Cash and Cash Equivalents Items [Line Items] |  |  |  |  |
Long-term restricted cash | ¥ |  |  | ¥ 1.0 |  |
Standby letters of credit |  |  |  |  |
Restricted Cash and Cash Equivalents Items [Line Items] |  |  |  |  |
Amount of cash collateral | 7,400,000 |  |  | $ 7,400,000 |
Bank guarantees |  |  |  |  |
Restricted Cash and Cash Equivalents Items [Line Items] |  |  |  |  |
Amount of cash collateral | $ 200,000 |  |  |  |

X
- Definition Amount of assets pledged to secure a debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentCollateralAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_RestrictedCashAndCashEquivalentsItemsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash restricted as to withdrawal or usage, classified as noncurrent. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121566466&loc=d3e6812-107765 Reference 2: 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(17)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=121583591&loc=SL98516268-108586 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 210 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120413173&loc=SL116631458-115580 + Details
Name: | us-gaap_RestrictedCashNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | srt_StatementGeographicalAxis=country_CN
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_StandbyLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=fn_BankGuaranteesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |