XML 58 R43.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Financial Instruments - Additional Information (Detail) - USD ($) $ in Millions | 3 Months Ended |
--- | --- | ---
Jul. 31, 2022 | Jul. 31, 2021 | Apr. 30, 2022
Financial Instrument [Line Items] |  |  |
Sale/maturities of available-for-sale marketable securities | $ 14.4 | $ 21.7 |
Unrealized losses relates to equity securities | 0.5 |  |
Unrealized gains relates to equity securities |  | 4.1 |
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts |  |  |
Financial Instrument [Line Items] |  |  |
Foreign currency gains (losses) | (0.6) | $ 0.1 |
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Income Taxes And Other Receivables | Derivatives Purchased |  |  |
Financial Instrument [Line Items] |  |  |
Derivative notional amount | 97.9 |  | $ 89.7
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Income Taxes And Other Receivables | Derivatives Sold |  |  |
Financial Instrument [Line Items] |  |  |
Derivative notional amount | $ 40.5 |  | $ 35.8
Available-for-sale Marketable Securities | Minimum |  |  |
Financial Instrument [Line Items] |  |  |
Marketable securities remaining maturity | 1 month |  |
Available-for-sale Marketable Securities | Maximum |  |  |
Financial Instrument [Line Items] |  |  |
Marketable securities remaining maturity | 21 months |  |

X
- Definition Financial Instrument [Line Items] + References No definition available. + Details
Name: | kfy_FinancialInstrumentLineItems
Namespace Prefix: | kfy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Marketable securities remaining maturity. + References No definition available. + Details
Name: | kfy_MarketableSecuritiesRemainingMaturity
Namespace Prefix: | kfy_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4CC -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of unrealized gain on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126980263&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of unrealized loss on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126980263&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow from sale, maturity, prepayment and call 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 230 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3151-108585 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562 + Details
Name: | us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeForwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=kfy_IncomeTaxesAndOtherReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TradingActivityByTypeAxis=kfy_DerivativesPurchasedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TradingActivityByTypeAxis=kfy_DerivativesSoldMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_AvailableforsaleSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |