XML 40 R29.htm IDEA: XBRL DOCUMENT v3.22.2.2
Basis of Presentation - Additional Information (Details) - USD ($)
3 Months Ended 12 Months Ended
Jul. 31, 2022
Apr. 30, 2021
Background Description Of Business And Basis Of Presentation [Line Items]    
Impact on previously reported net income or comprehensive income   $ 0
Accounting Standards Update [Extensible Enumeration] ASU 2019-12  
Change in accounting principle, accounting standards update, adopted [true false] true  
Change in accounting principle accounting standards update adoption date May 01, 2021  
Change in accounting principle, accounting standards update, immaterial effect [true false] true  
Minimum    
Background Description Of Business And Basis Of Presentation [Line Items]    
Product shipment days 20 days  
Maximum    
Background Description Of Business And Basis Of Presentation [Line Items]    
Product shipment days 90 days