Leases
9 Months Ended
Jan. 31, 2022
Leases [Abstract]  
Leases Leases
The Company’s leases are composed of corporate office spaces under non-cancelable operating lease agreements that expire at various dates through 2025. The Company does not have any finance leases.
Lease Costs
Components of lease costs included in the condensed consolidated statement of operations were as follows (in thousands):
Three Months Ended January 31,Nine Months Ended January 31,
 2022202120222021
Operating lease cost$2,432 $2,234 $7,203 $6,518 
Short-term lease cost581 507 1,571 1,859 
Variable lease cost297 182 804 471 
Total lease cost$3,310 $2,923 $9,578 $8,848 
 
Lease term and discount rate information are summarized as follows:
 As of January 31, 2022
Weighted average remaining lease term (years)3.17
Weighted average discount rate4.85 %
 
Future minimum lease payments under non-cancelable operating leases on an undiscounted cash flow basis as of January 31, 2022 were as follows (in thousands):
Years Ending April 30, 
2022 (remaining three months)$2,516 
20238,720 
20246,666 
20255,104 
20262,803 
Total minimum lease payments25,809 
Less imputed interest(1,947)
Present value of future minimum lease payments23,862 
Less current lease liabilities(8,983)
Operating lease liabilities, non-current$14,879