XML 38 R27.htm IDEA: XBRL DOCUMENT v3.20.2
Leases (Tables)
6 Months Ended
Oct. 31, 2020
Leases [Abstract]  
Components of Lease Costs
Components of lease costs included in the condensed consolidated statement of operations were as follows (in thousands):
Three Months Ended October 31,Six Months Ended October 31,
 2020201920202019
Operating lease cost$2,172 $2,184 $4,284 $3,963 
Short-term lease cost721 859 1,352 1,531 
Variable lease cost(65)189 289 308 
Total lease cost$2,828 $3,232 $5,925 $5,802 
Lease Term and Discount Rate Information
Lease term and discount rate information are summarized as follows:
 As of October 31, 2020
Weighted average remaining lease term (years)4.33
Weighted average discount rate5.06 %
Future Minimum Lease Payments under Non-cancelable Operating Leases
Future minimum lease payments under non-cancelable operating leases on an undiscounted cash flow basis as of October 31, 2020 were as follows (in thousands):
Years Ending April 30, 
2021 (remaining six months)$4,546 
20228,542 
20238,259 
20247,179 
20255,870 
Thereafter2,804 
Total minimum lease payments37,200 
Less imputed interest(4,305)
Present value of future minimum lease payments32,895 
Less current lease liabilities(7,863)
Operating lease liabilities, non-current$25,032