XML 76 R64.htm IDEA: XBRL DOCUMENT
v3.23.2

Defined Contribution Benefit Plan - Additional Information (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
May 31, 2023 | May 31, 2022 | May 31, 2021
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined contribution 401(K) benefit expense | $ 2,439 | $ 1,834 | $ 1,204
First 3% employees deferred amount |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined contribution plan employer matching contribution | 100.00% |  |
Next 2% employees deferred amount |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined contribution plan employer matching contribution | 50.00% |  |

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_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualPostretirementBenefitsByTypeOfDeferredCompensationAxis=neog_ScenarioOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualPostretirementBenefitsByTypeOfDeferredCompensationAxis=neog_ScenarioTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |