v3.24.0.1
Equity - Summary of Assumptions Used In Valuing ESPP Purchase Under ESPP (Details) - 2020 Employee Stock Purchase Plan
9 Months Ended
Jan. 31, 2024
Jan. 31, 2023
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]    
Risk-free interest rate, minimum 5.46% 3.97%
Risk-free interest rate, maximum 5.53% 4.01%
Expected volatility, minimum 43.20% 51.90%
Expected volatility, maximum 48.90% 58.40%
Dividend yield 0.00% 0.00%
Minimum    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]    
Expected term 6 months 6 months
Maximum    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]    
Expected term 12 months 12 months