XML 48 R37.htm IDEA: XBRL DOCUMENT v3.22.1
Leases (Tables)
9 Months Ended
Apr. 30, 2022
Leases [Abstract]  
Components of lease costs
The components of lease costs for the three and nine-month periods ended April 30, 2022 and April 30, 2021 were as
follows:

Three Months Ended April 30,Nine Months Ended April 30,
2022202120222021
Operating lease cost$7,426 $5,075 $20,642 $12,833 
Finance lease cost
Amortization of right-of-use assets186 164 559 475 
Interest on lease liabilities116 134 361 391 
Total lease cost$7,728 $5,373 $21,562 $13,699 

Other information related to leases was as follows:

Nine Months Ended April 30,
Supplemental Cash Flows Information20222021
Cash paid for amounts included in the measurement of lease liabilities:
Operating cash flows from operating leases$20,632 $12,767 
Right-of-use assets obtained in exchange for lease obligations:
Operating leases$18,050 $9,842 
Finance leases$— $4,000 
Supplemental Balance Sheet InformationApril 30, 2022July 31, 2021
Operating leases:
Operating lease right-of-use assets$46,405 $42,601 
Operating lease liabilities:
Other current liabilities$9,700 $8,944 
Other long-term liabilities36,993 33,923 
Total operating lease liabilities$46,693 $42,867 
Finance leases:
Finance lease right-of-use assets$6,450 $7,010 
Finance lease liabilities:
Other current liabilities$1,176 $1,081 
Other long-term liabilities3,798 4,694 
Total finance lease liabilities$4,974 $5,775 

April 30, 2022July 31, 2021
Weighted-average remaining lease term:
Operating leases10.3 years11.1 years
Finance leases4.5 years5.1 years
Weighted-average discount rate:
Operating leases3.5 %3.2 %
Finance leases9.1 %8.9 %
Operating lease liability maturities
Future minimum rental payments required under operating and finance leases as of April 30, 2022 were as follows:

Operating LeasesFinance Leases
 For the remainder of the fiscal year ending July 31, 2022$4,025 $393 
For the fiscal year ending July 31, 202313,764 1,578 
For the fiscal year ending July 31, 202410,638 1,059 
For the fiscal year ending July 31, 20257,477 1,083 
For the fiscal year ending July 31, 2026 5,352 1,107 
For the fiscal year ending July 31, 2027 and thereafter22,549 954 
Total future lease payments63,805 6,174 
Less: amount representing interest(17,112)(1,200)
Total reported lease liability$46,693 $4,974 
Finance lease liability maturities
Future minimum rental payments required under operating and finance leases as of April 30, 2022 were as follows:

Operating LeasesFinance Leases
 For the remainder of the fiscal year ending July 31, 2022$4,025 $393 
For the fiscal year ending July 31, 202313,764 1,578 
For the fiscal year ending July 31, 202410,638 1,059 
For the fiscal year ending July 31, 20257,477 1,083 
For the fiscal year ending July 31, 2026 5,352 1,107 
For the fiscal year ending July 31, 2027 and thereafter22,549 954 
Total future lease payments63,805 6,174 
Less: amount representing interest(17,112)(1,200)
Total reported lease liability$46,693 $4,974