XML 112 R38.htm IDEA: XBRL DOCUMENT v3.22.0.1
Leases - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2022
Jan. 31, 2021
Apr. 30, 2021
Leases [Abstract]          
Right of use assets $ 8,006   $ 8,006   $ 9,279
Operating cash paid to settle lease liabilities     $ 1,515 $ 1,299  
Remaining lease term (in years)     8 years    
Option to extend, term (in years)     5 years    
Option to terminate, term (in years)     1 year    
Operating lease, expense 754 $ 718 $ 2,309 2,032  
Operating lease, short term, expense $ 245 $ 267 $ 794 $ 733  
Weighted average remaining lease term, operating lease (in years) 5 years 7 months 6 days   5 years 7 months 6 days    
Weighted average discount rate, operating lease 4.10%   4.10%    
Weighted average remaining lease term, finance lease (in years) 4 years 7 months 6 days   4 years 7 months 6 days    
Weighted average discount rate, finance lease 6.80%   6.80%