XML 49 R34.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Organization and Summary of Significant Accounting Policies - Nature of Business (Detail) | Jul. 31, 2024 core_solution
--- | ---
Accounting Policies [Abstract] |
Number of core solutions | 5

X
- Definition Number Of Core Solutions + References No definition available. + Details
Name: | kfy_NumberOfCoreSolutions
Namespace Prefix: | kfy_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration