XML 74 R59.htm IDEA: XBRL DOCUMENT
v3.22.4

Long-Term Debt - Additional Information (Detail) |  |  | 21 Months Ended | 33 Months Ended |  |
--- | --- | --- | --- | --- | --- | ---
Jun. 24, 2022 USD ($) | Dec. 16, 2019 USD ($) | Jun. 30, 2024 | Jun. 30, 2027 | Jan. 31, 2023 USD ($) | Apr. 30, 2022 USD ($)
Credit Facilities |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Line of credit facility, remaining borrowing capacity |  |  |  |  | $ 1,145,300,000 |
Prior Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Line of credit facility, remaining borrowing capacity |  |  |  |  |  | $ 645,300,000
Standby Letters of Credit |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Long-term debt arrangement |  |  |  |  | 4,700,000 | 4,700,000
Standby Letters of Credit | Other Financial Institutions |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Long-term debt arrangement |  |  |  |  | $ 11,600,000 | 10,000,000
4.625% Senior Unsecured Notes due 2027 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt instrument, interest rate |  | 4.625% |  |  |  |
Principal amount |  | $ 400,000,000 |  |  |  |
Debt instrument, unamortized discount |  | $ 4,500,000 |  |  |  |
Redemption price, percentage |  | 100.00% |  |  |  |
Dividends payable per fiscal year |  | $ 25,000,000 |  |  |  |
Debt Instrument, change in control and rating decline, percentage of principal amount |  | 101.00% |  |  |  |
Debt instrument, proceeds from offering used to repay outstanding debt |  | $ 276,900,000 |  |  |  |
Interest rate, effective percentage |  |  |  |  | 4.86% |
Debt instrument, fair value |  |  |  |  | $ 377,000,000 | 379,500,000
4.625% Senior Unsecured Notes due 2027 | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Consolidated net leverage ratio |  | 3.50 |  |  |  |
Redemption before December 15, 2022 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Percentage of principal amount redeemable with equity offering proceeds |  | 35.00% |  |  |  |
Percentage of principal amount of debt redeemed |  | 104.625% |  |  |  |
Amended Credit Agreement |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt instrument term | 5 years |  |  |  |  |
Line of credit facility, maximum borrowing capacity | $ 1,150,000,000 |  |  |  |  |
Amended Credit Agreement | Revolving Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Line of credit facility, maximum borrowing capacity | 650,000,000 |  |  |  |  |
Amended Credit Agreement | Delayed Draw Term Loan Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Line of credit facility, maximum borrowing capacity | $ 500,000,000 |  |  |  |  |
Amended Credit Agreement | Credit Facilities |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Long-term debt |  |  |  |  | 0 |
Unamortized debt issuance costs |  |  |  |  | $ 4,400,000 |
Amended Credit Agreement | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Consolidated net leverage ratio | 3.25 |  |  |  |  |
Increase in aggregate principal amount | $ 250,000,000 |  |  |  |  |
Credit Agreement | Secured Financing Overnight Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Adjustment percentage on variable interest rate | 0.10% |  |  |  |  |
Credit Agreement | Delayed Draw Term Loan Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Lenders ticking fee/ commitment fee on actual daily unused amount of Credit Facilities | 0.20% |  |  |  |  |
Credit Agreement | Delayed Draw Term Loan Facility | Scenario Forecast |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Annual term loan amortization percentage on principal balance |  |  | 2.50% | 5.00% |  |
Credit Agreement | Prior Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Long-term debt |  |  |  |  |  | 0
Unamortized debt issuance costs |  |  |  |  |  | $ 2,400,000
Credit Agreement | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Consolidated net leverage ratio | 3.50 |  |  |  |  |
Temporary increase in consolidated net leverage ratio | 4.00 |  |  |  |  |
Credit Agreement | Maximum | Secured Financing Overnight Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Applicable margin on variable interest rate | 2.00% |  |  |  |  |
Credit Agreement | Maximum | Base Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Applicable margin on variable interest rate | 1.00% |  |  |  |  |
Credit Agreement | Maximum | Revolving Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Lenders ticking fee/ commitment fee on actual daily unused amount of Credit Facilities | 0.30% |  |  |  |  |
Credit Agreement | Minimum | Secured Financing Overnight Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Applicable margin on variable interest rate | 1.125% |  |  |  |  |
Credit Agreement | Minimum | Base Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Applicable margin on variable interest rate | 0.125% |  |  |  |  |
Credit Agreement | Minimum | Revolving Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Lenders ticking fee/ commitment fee on actual daily unused amount of Credit Facilities | 0.175% |  |  |  |  |

X
- Definition Annual term loan amortization percentage on principal balance. + References No definition available. + Details
Name: | kfy_AnnualTermLoanAmortizationPercentageOnPrincipalBalance
Namespace Prefix: | kfy_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The Company's consolidated total leverage ratio can not be greater than this in order to be in compliance with the Indenture governing the Notes. + References No definition available. + Details
Name: | kfy_ConsolidatedNetLeverageRatio
Namespace Prefix: | kfy_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument, change in control and rating decline, percentage of principal amount. + References No definition available. + Details
Name: | kfy_DebtInstrumentChangeInControlAndRatingDeclinePercentageOfPrincipalAmount
Namespace Prefix: | kfy_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument maximum percentage of principal amount redeemable with equity offering proceeds. + References No definition available. + Details
Name: | kfy_DebtInstrumentMaximumPercentageOfPrincipalAmountRedeemableWithEquityOfferingProceeds
Namespace Prefix: | kfy_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument, proceeds from offering used to repay outstanding debt. + References No definition available. + Details
Name: | kfy_DebtInstrumentProceedsFromOfferingUsedToRepayOutstandingDebt
Namespace Prefix: | kfy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt instrument redemption of principal plus applicable premium price percentage. + References No definition available. + Details
Name: | kfy_DebtInstrumentRedemptionOfPrincipalPlusApplicablePremiumPricePercentage
Namespace Prefix: | kfy_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument variable rate adjustment percentage. + References No definition available. + Details
Name: | kfy_DebtInstrumentVariableRateAdjustmentPercentage
Namespace Prefix: | kfy_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Dividends payable without restrictions. + References No definition available. + Details
Name: | kfy_DividendsPayableWithoutRestrictions
Namespace Prefix: | kfy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Temporary increase in consolidated net leverage ratio. + References No definition available. + Details
Name: | kfy_TemporaryIncreaseInConsolidatedNetLeverageRatio
Namespace Prefix: | kfy_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 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(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 + Details
Name: | us-gaap_DebtInstrumentFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + 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 e -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
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 Amount of increase (decrease) of the credit facility. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=kfy_CreditFacilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=kfy_PriorCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=kfy_OtherFinancialInstitutionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=kfy_FourPointSixTwoFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySevenMember
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: |

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

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=kfy_DelayedDrawTermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_VariableRateAxis=kfy_SecuredFinancingOvernightRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
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: |