XML 57 R42.htm IDEA: XBRL DOCUMENT
v3.22.2

Organization and Summary of Significant Accounting Policies - Additional Information (Detail) | 12 Months Ended
--- | ---
Apr. 30, 2022 USD ($) Segment | Apr. 30, 2021 USD ($) | Apr. 30, 2020 USD ($) Facility
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Number of business segments | Segment | 7 |  |
Number of line of business | Segment | 4 |  |
Credit loss for available for sales debt securities | $ 0 | $ 0 | $ 0
Business acquisitions adjustment, increase in goodwill |  | 2,643,000 |
Impairment of right of use assets | 7,392,000 |  | 2,282,000
Impairment of fixed assets | 1,915,000 |  | 372,000
Impairment of long-lived assets |  | 0 |
Impairment of goodwill | 0 |  |
Impairment of intangible assets | 0 | 0 | 0
Performance-related bonus expenses | $ 447,600,000 | 287,300,000 | 197,100,000
Percentage that Actuarial gain or loss must exceed the greater of PBO or Market Value Plan Assets | 10.00% |  |
Cash surrender value of company owned life insurance policies, net of loans | $ 183,308,000 | 161,295,000 |
ASU 2021-01 |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Change in accounting principle, accounting standards update, adopted | true |  |
Change in accounting principle, accounting standards update, adoption date | May 01, 2021 |  |
Change in accounting principle, accounting standards update, immaterial effect | true |  |
General and Administrative Expenses |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Foreign currency gains (losses) | $ (1,200,000) | (2,700,000) | $ (4,100,000)
CSV of COLI Contracts |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Cash surrender value of company owned life insurance policies, net of loans | $ 183,300,000 | 161,300,000 |
Executive Capital Accumulation Plan |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Deferred compensation arrangement vesting period | 5 years |  |
Minimum |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Intangible assets estimated useful lives | 1 year |  |
Amortization of long-term retention awards | 4 years |  |
Maximum |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Intangible assets estimated useful lives | 24 years |  |
Amortization of long-term retention awards | 5 years |  |
Software and Software Development Costs | Minimum |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Property and equipment estimated useful life | 3 years |  |
Software and Software Development Costs | Maximum |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Property and equipment estimated useful life | 10 years |  |
Other Capitalized Property Plant and Equipment | Minimum |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Property and equipment estimated useful life | 3 years |  |
Other Capitalized Property Plant and Equipment | Maximum |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Property and equipment estimated useful life | 10 years |  |
Leasehold Improvements and Furniture and Fixtures |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Impairment of fixed assets | $ 1,900,000 |  |
Acquired Companies |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Business acquisitions adjustment, increase in goodwill |  | $ 2,600,000 |
Number of office leases closed | Facility |  |  | 16
Impairment of right of use assets |  |  | $ 2,300,000
Acquired Companies | Digital |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Impairment of right of use assets |  |  | 2,300,000
Acquired Companies | Leasehold Improvements and Furniture and Fixtures | Digital |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Impairment of fixed assets |  |  | $ 400,000
Mexican Subsidiary |  |  |
Organization And Summary Of Significant Accounting Policies [Line Items] |  |  |
Percentage of Noncontrolling interest in subsidiary | 51.00% |  |

X
- Definition The period the long term retention award is expensed over. + References No definition available. + Details
Name: | kfy_AmortizationOfLongTermRetentionAwards
Namespace Prefix: | kfy_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage that the actuarial gain or loss must exceed the greater of the PBO or Market Related Value of Plan Assets in order to amortize the amount through pension cost. + References No definition available. + Details
Name: | kfy_CorridorRulePercentage
Namespace Prefix: | kfy_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of facilities closed. + References No definition available. + Details
Name: | kfy_NumberOfFacilitiesClosed
Namespace Prefix: | kfy_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of line of business. + References No definition available. + Details
Name: | kfy_NumberOfLineOfBusiness
Namespace Prefix: | kfy_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Organization And Summary Of Significant Accounting Policies [Line Items] + References No definition available. + Details
Name: | kfy_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | kfy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Performance related bonus expenses. + References No definition available. + Details
Name: | kfy_PerformanceRelatedBonusExpenses
Namespace Prefix: | kfy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Carrying amount as of the balance sheet date of amounts which could be received based on the terms of the insurance contract upon surrendering life policies owned by the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 4 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=124098289&loc=d3e6812-107765 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.17) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CashSurrenderValueOfLifeInsurance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indicates (true false) whether accounting standards update was adopted. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 20 -Section 65 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=121483254&loc=SL120254523-199619 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S65 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124359872&loc=SL124427846-239511 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 65 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 7 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL122642865-165497 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 7 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL122642865-165497 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 5 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL120254526-165497 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL120254526-165497 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL120254519-210437 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123341672&loc=SL120154346-209984 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 848 -SubTopic 10 -Section 65 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=122150657&loc=SL122150809-237846 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 105 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 105 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Topic 848 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Publisher FASB -Subparagraph (a) Reference 32: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793 Reference 33: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 45 -Paragraph 23 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793 + Details
Name: | us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date accounting standards update was adopted, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S65 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124359872&loc=SL124427846-239511 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 7 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL122642865-165497 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 5 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL120254526-165497 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 105 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 105 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 7 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL122642865-165497 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011 Reference 16: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 848 -SubTopic 10 -Section 65 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=122150657&loc=SL122150809-237846 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123341672&loc=SL120154346-209984 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 65 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 20 -Section 65 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=121483254&loc=SL120254523-199619 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL120254519-210437 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=123597120&loc=SL120254526-165497 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Topic 848 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Publisher FASB -Subparagraph (a) Reference 34: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793 Reference 35: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 45 -Paragraph 23 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793 + Details
Name: | us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | instant

X
- Definition Indicates (true false) whether effect from applying amendment to accounting standards is immaterial. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section S99 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=122038215&loc=d3e31010-122693 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (g)(2) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (d)(1) -URI http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 65 -Paragraph 8 -Subparagraph (e)(3) -URI http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (e)(1) -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794 + Details
Name: | us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect
Namespace Prefix: | us-gaap_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of allowance for credit loss on 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 326 -SubTopic 30 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 9 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aaa) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Minimum period the individual is required to perform services to be fully vested under the deferred compensation arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 710 -SubTopic 10 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6409961&loc=d3e20487-108367 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualRequisiteServicePeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of finite-lived intangible assets, 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_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount before tax of foreign currency transaction realized and unrealized gain (loss) recognized in the income statement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 20 -Section 35 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123602790&loc=d3e30226-110892 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 10 -Section 45 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=120253306&loc=d3e28228-110885 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895 + Details
Name: | us-gaap_ForeignCurrencyTransactionGainLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=123586518&loc=d3e961-128460 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillPurchaseAccountingAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275 + Details
Name: | us-gaap_ImpairmentOfIntangibleAssetsFinitelived
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate amount of write-downs for impairments recognized during the period for long lived assets held for use (including those held for disposal by means other than sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2921-110230 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123351718&loc=d3e2420-110228 + Details
Name: | us-gaap_ImpairmentOfLongLivedAssetsHeldForUse
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The equity interest of noncontrolling shareholders, partners or other equity holders in consolidated entity. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of loss from impairment of right-of-use asset from operating lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 25 -Paragraph 6 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123399704&loc=SL77918431-209957 + Details
Name: | us-gaap_OperatingLeaseImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The charge against earnings resulting from the aggregate write down of tangible assets from their carrying value to their fair value. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2921-110230 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760 + Details
Name: | us-gaap_TangibleAssetImpairmentCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate202101Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GeneralAndAdministrativeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=kfy_ExecutiveCapitalAccumulationPlanMember
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: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_SoftwareAndSoftwareDevelopmentCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_OtherCapitalizedPropertyPlantAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=kfy_LeaseholdImprovementsAndFurnitureAndFixturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=kfy_MillerHeimanGroupAchieveForumAndStrategyExecutionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=kfy_DigitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=kfy_MexicanSubsidiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |