XML 37 R27.htm IDEA: XBRL DOCUMENT v3.22.0.1
Leases (Tables)
9 Months Ended
Jan. 31, 2022
Lessee Disclosure [Abstract]  
Summary of components of lease expense
The components of lease expense were as follows:
Three Months Ended
January 31,
Nine Months Ended
January 31,
2022202120222021
(in thousands)
Finance lease cost:
Amortization of right-of-use assets$5,557 $5,898 $16,713 $17,997 
Interest on lease liabilities1,954 2,748 6,378 8,673 
Operating lease cost12,628 10,601 34,955 31,930 
Variable lease cost4,440 3,197 12,992 9,329 
Total lease cost$24,579 $22,444 $71,038 $67,929 
Summary of components of supplemental cash flow information related to leases
Supplemental cash flow information related to leases was as follows:
Nine Months Ended
January 31,
20222021
(in thousands)
Cash paid for amounts included in the measurement of lease liabilities
Operating cash flows from operating leases$35,385 $32,208 
Operating cash flows from finance leases6,378 8,673 
Financing cash flows from finance leases23,154 22,662 
Right-of-use assets obtained in exchange for lease obligations
Operating leases(a)53,549 27,918 
Finance leases24,887 22,408 
__________________________________________

(a) Includes operating lease right-of-use assets obtained in acquisitions. See Note 2, “Business Combinations” for more information on business combinations.
Summary of other lease information
Other information related to leases was as follows:
January 31,
2022
April 30,
2021
(in thousands)
Finance leases included in property and equipment
Property and equipment$180,401 $176,591 
Accumulated depreciation(54,954)(51,869)
Property and equipment, net$125,447 $124,722 
Weighted-average remaining lease term (years)
Operating leases4.54.7
Finance leases3.23.5
Weighted-average discount rate
Operating leases4.9 %5.5 %
Finance leases4.5 %4.6 %
Schedule of maturities for finance leases
Future minimum lease payments under non-cancellable leases as of January 31, 2022 were as follows:
FinanceOperating
Year Ending April 30,(in thousands)
2022 (remaining three months)$10,797 $12,214 
202340,327 45,206 
202431,056 39,144 
202520,118 28,353 
202612,316 17,146 
Thereafter8,678 22,890 
Total lease payments123,292 164,953 
Less imputed interest10,325 17,538 
Total$112,967 $147,415 
Schedule of maturities for operating leases
Future minimum lease payments under non-cancellable leases as of January 31, 2022 were as follows:
FinanceOperating
Year Ending April 30,(in thousands)
2022 (remaining three months)$10,797 $12,214 
202340,327 45,206 
202431,056 39,144 
202520,118 28,353 
202612,316 17,146 
Thereafter8,678 22,890 
Total lease payments123,292 164,953 
Less imputed interest10,325 17,538 
Total$112,967 $147,415