XML 71 R57.htm IDEA: XBRL DOCUMENT
v3.21.2

Defined Contribution Benefit Plan - Additional Information (Detail) - USD ($) | 12 Months Ended
--- | ---
May 31, 2021 | May 31, 2020 | May 31, 2019
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined contribution 401(K) benefit expense | $ 1,204,000 | $ 1,535,000 | $ 1,361,000
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 http://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: | num: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: |