Leases (Tables)
3 Months Ended
Apr. 30, 2019
Leases [Abstract]  
Lease, Cost
The following table presents supplemental information related to the Company’s operating and finance leases during the three months ended April 30, 2019 (in thousands, except weighted-average information):
 
Three Months Ended April 30, 2019
Cash paid for amounts included in the measurement of lease liabilities:
 
Operating cash flows from finance lease
$

Operating cash flows from operating leases
1,032

Financing cash flows from finance lease

Right-of-use assets obtained in exchange for lease obligations:
 
Finance lease
$

Operating leases
2,269

Weighted-average remaining lease term (in years):
 
Finance lease
10.7

Operating leases
4.8

Weighted-average discount rate:
 
Finance lease
5.6
%
Operating leases
6.1
%
The components of the Company’s lease costs included in its condensed consolidated statement of operations were as follows (in thousands):
 
Three Months Ended April 30, 2019
Finance lease cost:
 
Amortization of right-of-use assets
$
994

Interest on lease liabilities
905

Operating lease cost
967

Short-term lease cost
395

Total lease cost
$
3,261

Assets And Liabilities, Lessee
The balances of the Company’s operating and finance leases were recorded on the condensed consolidated balance sheet as follows (in thousands):
 
April 30, 2019
Operating Leases:
 
Operating lease right-of-use assets
$
12,378

Operating lease liabilities (current)
3,575

Operating lease liabilities, non-current
9,827

Finance Lease:
 
Property and equipment, net
$
42,392

Other accrued liabilities
2,133

Other liabilities, non-current
62,755

Finance Lease, Liability, Maturity
Future minimum lease payments under non-cancelable finance and operating leases on an annual undiscounted cash flow basis as of April 30, 2019 were as follows (in thousands):
Year Ending January 31,
Finance Lease
 
Operating Leases
Remainder of 2020
$
3,732

 
$
4,017

2021
8,073

 
4,189

2022
8,073

 
2,579

2023
8,073

 
2,529

2024
8,073

 
1,014

Thereafter
51,274

 
2,103

Total minimum payments
87,298

 
16,431

Less imputed interest
(22,410
)
 
(3,029
)
Present value of future minimum lease payments
64,888

 
13,402

Less current obligations under leases
(2,133
)
 
(3,575
)
Non-current lease obligations
$
62,755

 
$
9,827

Lessee, Operating Lease, Liability, Maturity
Future minimum lease payments under non-cancelable finance and operating leases on an annual undiscounted cash flow basis as of April 30, 2019 were as follows (in thousands):
Year Ending January 31,
Finance Lease
 
Operating Leases
Remainder of 2020
$
3,732

 
$
4,017

2021
8,073

 
4,189

2022
8,073

 
2,579

2023
8,073

 
2,529

2024
8,073

 
1,014

Thereafter
51,274

 
2,103

Total minimum payments
87,298

 
16,431

Less imputed interest
(22,410
)
 
(3,029
)
Present value of future minimum lease payments
64,888

 
13,402

Less current obligations under leases
(2,133
)
 
(3,575
)
Non-current lease obligations
$
62,755

 
$
9,827

Schedule of Future Minimum Lease Payments for Capital Leases
Future minimum lease payments under non-cancelable financing and operating leases, based on the previous lease accounting standard, as of January 31, 2019, were as follows (in thousands):
Year Ending January 31,
Financing Lease
 
Operating Leases
2020
$
3,732

 
$
4,578

2021
8,073

 
3,765

2022
8,073

 
2,277

2023
8,073

 
2,224

2024
8,073

 
922

Thereafter
51,274

 
2,149

Total minimum payments
$
87,298

 
$
15,915

Schedule of Future Minimum Rental Payments for Operating Leases
Future minimum lease payments under non-cancelable financing and operating leases, based on the previous lease accounting standard, as of January 31, 2019, were as follows (in thousands):
Year Ending January 31,
Financing Lease
 
Operating Leases
2020
$
3,732

 
$
4,578

2021
8,073

 
3,765

2022
8,073

 
2,277

2023
8,073

 
2,224

2024
8,073

 
922

Thereafter
51,274

 
2,149

Total minimum payments
$
87,298

 
$
15,915