XML 50 R37.htm IDEA: XBRL DOCUMENT v3.21.1
Leases (Tables)
9 Months Ended
Apr. 30, 2021
Leases [Abstract]  
Components of lease costs
The components of lease costs for the three and nine-month periods ended April 30, 2021 and April 30, 2020 were as follows:
Three Months Ended April 30,Nine Months Ended April 30,
2021202020212020
Operating lease cost$5,075 $2,920 $12,833 $9,063 
Finance lease cost
Amortization of right-of-use assets164 136 475 408 
Interest on lease liabilities134 131 391 402 
Total lease cost$5,373 $3,187 $13,699 $9,873 

Other information related to leases was as follows:
Nine Months Ended April 30,
Supplemental Cash Flows Information20212020
Cash paid for amounts included in the measurement of lease liabilities:
Operating cash flows from operating leases$12,767 $8,992 
Right-of-use assets obtained in exchange for lease obligations:
Operating leases$9,842 $3,777 
Finance leases$4,000 $— 

Supplemental Balance Sheet InformationApril 30, 2021July 31, 2020
Operating leases:
Operating lease right-of-use assets$38,545 $33,609 
Operating lease liabilities:
Other current liabilities$7,672 $5,343 
Other long-term liabilities31,126 28,456 
Total operating lease liabilities$38,798 $33,799 
Finance leases:
Finance lease right-of-use assets$7,196 $3,672 
Finance lease liabilities
Other current liabilities$1,014 $505 
Other long-term liabilities5,018 4,743 
Total finance lease liabilities$6,032 $5,248 
April 30, 2021July 31, 2020
Weighted-average remaining lease term:
Operating leases11.8 years13.6 years
Finance leases5.3 years6.8 years
Weighted-average discount rate:
Operating leases3.2 %3.4 %
Finance leases8.9 %9.7 %
Operating lease liability maturities
Future minimum rental payments required under operating and finance leases as of April 30, 2021 were as follows:
Operating LeasesFinancing Leases
 For the remainder of the fiscal year ending July 31, 2021$3,517 $387 
For the fiscal year ending July 31, 202212,025 1,555 
For the fiscal year ending July 31, 20239,187 1,578 
For the fiscal year ending July 31, 20246,449 1,059 
For the fiscal year ending July 31, 2025 4,426 1,083 
For the fiscal year ending July 31, 2026 and thereafter19,616 2,062 
Total future lease payments55,220 7,724 
Less: amount representing interest(16,422)(1,692)
Total reported lease liability$38,798 $6,032 
Finance lease liability maturities
Future minimum rental payments required under operating and finance leases as of April 30, 2021 were as follows:
Operating LeasesFinancing Leases
 For the remainder of the fiscal year ending July 31, 2021$3,517 $387 
For the fiscal year ending July 31, 202212,025 1,555 
For the fiscal year ending July 31, 20239,187 1,578 
For the fiscal year ending July 31, 20246,449 1,059 
For the fiscal year ending July 31, 2025 4,426 1,083 
For the fiscal year ending July 31, 2026 and thereafter19,616 2,062 
Total future lease payments55,220 7,724 
Less: amount representing interest(16,422)(1,692)
Total reported lease liability$38,798 $6,032