Business and Product Line Acquisitions - Additional Information (Detail) (USD $) | 3 Months Ended | 9 Months Ended | 0 Months Ended | 1 Months Ended |
Feb. 28, 2015 | Feb. 28, 2014 | Feb. 28, 2015 | Feb. 28, 2014 | Jan. 02, 2014 | Nov. 01, 2013 | Oct. 01, 2014 | Dec. 08, 2014 | Jul. 01, 2013 | Aug. 31, 2014 |
Business Acquisition [Line Items] | | | | | | | | | | |
Reversed the remaining contingent consideration accrual to other income | ($84,000) | $0 | ($297,000) | $0 | | | | | | |
Chem Tech Ltd | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Cash consideration for purchase of business | | | | | 17,185,000 | | | | | |
Contingent consideration potential payment | | | | | 1,000,000 | | | | | |
Purchase price allocation for accounts receivable | | | | | 380,000 | | | | | |
Purchase price allocation for inventory | | | | | 4,184,000 | | | | | |
Purchase price allocation for property and equipment | | | | | 807,000 | | | | | |
Purchase price allocation for current liabilities | | | | | 184,000 | | | | | |
Allocation of purchase price for contingent consideration potential payment | | | | | 390,000 | | | | | |
Purchase price allocation for intangible assets | | | | | 8,327,000 | | | | | |
Purchase price allocation for prepaid assets | | | | | 100,000 | | | | | |
Cash recorded for contingent consideration | | | | | 84,000 | | | | | |
Chem Tech Ltd | Minimum | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Finite lived intangible assets, useful life | | | | | 5 years | | | | | |
Chem Tech Ltd | Maximum | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Finite lived intangible assets, useful life | | | | | 25 years | | | | | |
Prima Tech Incorporated | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Cash consideration for purchase of business | | | | | | 12,068,000 | | | | |
Contingent consideration potential payment | | | | | | 600,000 | | | | |
Purchase price allocation for accounts receivable | | | | | | 963,000 | | | | |
Purchase price allocation for inventory | | | | | | 2,796,000 | | | | |
Purchase price allocation for property and equipment | | | | | | 1,653,000 | | | | |
Purchase price allocation for current liabilities | | | | | | 1,840,000 | | | | |
Allocation of purchase price for contingent consideration potential payment | | | | | | 146,000 | | | | |
Purchase price allocation for intangible assets | | | | | | 4,400,000 | | | | |
Purchase price allocation for prepaid assets | | | | | | 8,000 | | | | |
Cash recorded for contingent consideration | | | | | | 454,000 | | | | |
Prima Tech Incorporated | Minimum | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Finite lived intangible assets, useful life | | | | | | 5 years | | | | |
Prima Tech Incorporated | Maximum | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Finite lived intangible assets, useful life | | | | | | 15 years | | | | |
Prima Tech Incorporated | Trademarks | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Purchase price allocation for non-amortizable trademarks | | | | | | 1,500,000 | | | | |
BioLumix, Inc. | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Cash consideration for purchase of business | | | | | | | 4,514,000 | | | |
Purchase price allocation for accounts receivable | | | | | | | 499,000 | | | |
Purchase price allocation for inventory | | | | | | | 421,000 | | | |
Purchase price allocation for property and equipment | | | | | | | 159,000 | | | |
Purchase price allocation for current liabilities | | | | | | | 130,000 | | | |
Purchase price allocation for intangible assets | | | | | | | 2,109,000 | | | |
Purchase price allocation for prepaid assets | | | | | | | 48,000 | | | |
Purchase price allocation for other receivable | | | | | | | 178,000 | | | |
Purchase price allocation for long-term liabilities | | | | | | | 813,000 | | | |
BioLumix, Inc. | Minimum | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Finite lived intangible assets, useful life | | | | | | | 5 years | | | |
BioLumix, Inc. | Maximum | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Finite lived intangible assets, useful life | | | | | | | 15 years | | | |
Beijing Anapure BioScientific Co., Ltd. | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Cash consideration for purchase of business | | | | | | | | 2,040,000 | | |
Purchase price allocation for inventory | | | | | | | | 525,000 | | |
Purchase price allocation for property and equipment | | | | | | | | 64,000 | | |
Purchase price allocation for intangible assets | | | | | | | | 20,000 | | |
Finite lived intangible assets, useful life | | | | | | | | 5 years | | |
SyrVet, Inc. | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Cash consideration for purchase of business | | | | | | | | | 10,012,000 | |
Contingent consideration potential payment | | | | | | | | | 1,500,000 | |
Purchase price allocation for accounts receivable | | | | | | | | | 747,000 | |
Purchase price allocation for inventory | | | | | | | | | 2,195,000 | |
Purchase price allocation for property and equipment | | | | | | | | | 556,000 | |
Purchase price allocation for current liabilities | | | | | | | | | 226,000 | |
Allocation of purchase price for contingent consideration potential payment | | | | | | | | | 930,000 | |
Purchase price allocation for intangible assets | | | | | | | | | 4,810,000 | |
Finite lived intangible assets, useful life | | | | | | | | | 15 years | |
Cash paid for contingent consideration | | | | | | | | | | 689,000 |
Reversed the remaining contingent consideration accrual to other income | | | | | | | | | | 241,000 |
SyrVet, Inc. | Trademarks | | | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | | | |
Purchase price allocation for non-amortizable trademarks | | | | | | | | | $790,000 | |