XML 69 R54.htm IDEA: XBRL DOCUMENT
v3.22.4

Credit Losses - Additional Information (Details) - investment | 9 Months Ended |
--- | --- | ---
Jan. 31, 2023 | Apr. 30, 2022
Commercial paper |  |
Fair Value And Unrealized Losses On Available For Sale Debt Securities [Line Items] |  |
Debt securities, available-for-sale, unrealized loss position, number of investments | 11 | 27
Corporate notes/bonds |  |
Fair Value And Unrealized Losses On Available For Sale Debt Securities [Line Items] |  |
Debt securities, available-for-sale, unrealized loss position, number of investments | 19 | 23
Corporate notes/bonds | Maximum |  |
Fair Value And Unrealized Losses On Available For Sale Debt Securities [Line Items] |  |
Debt instrument term | 2 years |
U.S. Treasury and Agency Securities |  |
Fair Value And Unrealized Losses On Available For Sale Debt Securities [Line Items] |  |
Debt securities, available-for-sale, unrealized loss position, number of investments | 0 | 1

X
- Definition Fair value and unrealized losses on available for sale debt securities. + References No definition available. + Details
Name: | kfy_FairValueAndUnrealizedLossesOnAvailableForSaleDebtSecuritiesLineItems
Namespace Prefix: | kfy_
Data Type: | xbrli:stringItemType
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 Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CorporateBondSecuritiesMember
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_InvestmentTypeAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |