XML 50 R27.htm IDEA: XBRL DOCUMENT v3.22.2.2
Leases (Tables)
12 Months Ended
Jul. 31, 2022
Leases [Abstract]  
Assets and Liabilities, Lessee

Supplemental balance sheet information related to leases is as follows:

 

 

 

As of July 31,

 

 

 

2021

 

 

2022

 

 

 

(in thousands)

 

Operating leases:

 

 

 

 

 

 

Operating lease right-of-use assets, gross

 

$

170,277

 

 

$

188,060

 

Accumulated amortization

 

 

(64,374

)

 

 

(69,320

)

Operating lease right-of-use assets, net

 

$

105,903

 

 

$

118,740

 

Operating lease liabilities—current

 

$

42,670

 

 

$

39,801

 

Operating lease liabilities—non-current

 

 

86,599

 

 

 

89,782

 

Total operating lease liabilities

 

$

129,269

 

 

$

129,583

 

Weighted average remaining lease term (in years):

 

 

3.1

 

 

 

5.1

 

Weighted average discount rate:

 

 

5.5

%

 

 

5.7

%

 

 

 

As of July 31,

 

 

 

2021

 

 

2022

 

 

 

(in thousands)

 

Finance leases:

 

 

 

 

 

 

Finance lease right-of-use assets, gross (1)

 

$

8,972

 

 

$

13,501

 

Accumulated amortization (1)

 

 

(687

)

 

 

(3,053

)

Finance lease right-of-use assets, net (1)

 

$

8,285

 

 

$

10,448

 

Finance lease liabilities—current (2)

 

$

1,772

 

 

$

2,685

 

Finance lease liabilities—non-current (3)

 

 

6,527

 

 

 

7,806

 

Total finance lease liabilities

 

$

8,299

 

 

$

10,491

 

Weighted average remaining lease term (in years):

 

 

4.7

 

 

 

3.9

 

Weighted average discount rate:

 

 

6.7

%

 

 

5.9

%

 

(1)
Included in our consolidated balance sheets within property and equipment, net.
(2)
Included in our consolidated balance sheets within accrued expenses and other current liabilities.
(3)
Included in our consolidated balance sheets within other liabilities—non-current.
Supplemental Cash Flow and Other Information Related to Leases

Supplemental cash flow and other information related to leases is as follows:

 

 

 

Fiscal Year Ended July 31,

 

 

 

2021

 

 

2022

 

 

 

(in thousands)

 

Cash paid for amounts included in the measurement of
   lease liabilities:

 

 

 

 

 

 

Operating cash flows from operating leases

 

$

46,216

 

 

$

48,509

 

Financing cash flows from finance leases

 

$

459

 

 

$

1,089

 

Lease liabilities arising from obtaining right-of-use assets:

 

 

 

 

 

 

Operating leases

 

$

16,174

 

 

$

55,797

 

Finance leases

 

$

9,622

 

 

$

4,529

 

Lessee Operating and Finance Lease, Liability, Maturity

The undiscounted cash flows for our lease liabilities as of July 31, 2022 were as follows:

 

Fiscal Year Ending July 31:

 

Operating
Leases

 

 

Finance
Leases

 

 

Total

 

 

 

(in thousands)

 

2023

 

$

43,199

 

 

$

2,750

 

 

$

45,949

 

2024

 

 

30,393

 

 

 

2,750

 

 

 

33,143

 

2025

 

 

17,100

 

 

 

2,750

 

 

 

19,850

 

2026

 

 

13,805

 

 

 

2,048

 

 

 

15,853

 

2027

 

 

12,699

 

 

 

337

 

 

 

13,036

 

Thereafter

 

 

36,396

 

 

 

 

 

 

36,396

 

Total lease payments

 

 

153,592

 

 

 

10,635

 

 

 

164,227

 

Less: imputed interest

 

 

(24,009

)

 

 

(144

)

 

 

(24,153

)

Total lease obligation

 

 

129,583

 

 

 

10,491

 

 

 

140,074

 

Less: current lease obligations

 

 

(39,801

)

 

 

(2,685

)

 

 

(42,486

)

Long-term lease obligations

 

$

89,782

 

 

$

7,806

 

 

$

97,588