v3.23.1

Commitments and contingencies (Details) ฿ in Millions, ¥ in Millions, $ in Millions | Mar. 31, 2023 USD ($) | Mar. 31, 2023 THB (฿) | Jun. 24, 2022 USD ($) | Jun. 24, 2022 THB (฿) | Jun. 24, 2022 CNY (¥)
--- | --- | --- | --- | --- | ---
Commitments and Contingencies Disclosure [Line Items] |  |  |  |  |
Outstanding bank guarantees given by banks on behalf of the company | $ 1.6 | ฿ 53.0 | $ 1.4 | ฿ 50.2 |
Financial Guarantee |  |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |  |
Outstanding bank guarantees given by banks on behalf of the company | ¥ |  |  |  |  | ¥ 1.0
Inventories |  |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |  |
Outstanding commitment to third parties | 1,090.0 |  |  |  |
Bank guarantees |  |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |  |
Amount of cash collateral |  |  | $ 0.1 |  |
Thailand |  |  |  |  |
Commitments and Contingencies Disclosure [Line Items] |  |  |  |  |
Outstanding commitment to third parties | $ 18.3 |  |  |  |

X
- Definition Commitments and Contingencies Disclosure [Line Items] + References No definition available. + Details
Name: | fn_CommitmentsAndContingenciesDisclosureLineItems
Namespace Prefix: | fn_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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 https://asc.fasb.org/extlink&oid=123599511&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 current carrying amount of the liability for the freestanding or embedded guarantor's obligations under the guarantee or each group of similar guarantees. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248 + Details
Name: | us-gaap_GuaranteeObligationsCurrentCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Minimum amount of purchase arrangement in which the entity has agreed to expend funds to procure goods or services from a supplier. + References No definition available. + Details
Name: | us-gaap_PurchaseObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=us-gaap_FinancialGuaranteeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis=us-gaap_InventoriesMember
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: |

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