XML 46 R17.htm IDEA: XBRL DOCUMENT v3.21.2
Leases
6 Months Ended
Jun. 30, 2021
Leases [Abstract]  
Leases Leases
Facilities, Office Buildings, and Vehicles
We lease most of our facilities, office buildings and vehicles under operating and finance leases that expire at various dates through February 2036. We lease various manufacturing facilities in Sunnyvale, Fremont and Mountain View, California. Our Sunnyvale manufacturing facility lease was entered into in April 2005 and expires in December 2023. In June 2020 and in March 2021, we signed leases in Fremont that will expire in 2027 and 2036, respectively, to replace our manufacturing facilities in Sunnyvale and Mountain View. The existing plants together comprise approximately 534,894 square feet of space. In June 2021, we extended the lease term for our headquarters in San Jose, California to 2031 and leased two additional floors. We lease additional office space as field offices in the United States and around the world including in Dubai, India, the Republic of Korea, China and Taiwan.
Some of these arrangements have free rent periods or escalating rent payment provisions. We recognize lease cost under such arrangements on a straight-line basis over the life of the leases. For the three months ended June 30, 2021 and 2020, rent expense for all occupied facilities was $3.8 million and $1.9 million, respectively. For the six months ended June 30, 2021 and 2020, rent expense for all occupied facilities was $7.0 million and $4.0 million, respectively.
Our leases have lease terms ranging from less than 1 year to 15 years, some of which include options to extend the leases. The lease term is the non-cancelable period of the lease and includes options to extend or terminate the lease when it is reasonably certain that an option will be exercised.
Operating and financing lease right-of-use assets and lease liabilities for facilities, office buildings and vehicles as of June 30, 2021 and December 31, 2020 were as follows (in thousands):
June 30,December 31,
20212020
Assets:
Operating lease right-of-use assets, net 1, 2
$69,708 $35,621 
Financing lease right-of-use assets, net 2, 3, 4
2,532 334
Total
$72,240 $35,955 
Liabilities:
Current:
Operating lease liabilities
$5,375 $7,899 
Financing lease liabilities 5
759 74 
Total current lease liabilities
6,134 7,973 
Non-current:
Operating lease liabilities
78,441 41,849 
Financing lease liabilities 6
1,878 267 
Total non-current lease liabilities
80,319 42,116 
Total lease liabilities
$86,453 $50,089 
1 These assets primarily include leases for facilities, office buildings and vehicles.
2 Net of accumulated amortization.
3 These assets primarily include leases for vehicles.
4 Included in property, plant and equipment, net, in the condensed consolidated balance sheets, net of accumulated amortization.
5 Included in accrued expenses and other current liabilities in the condensed consolidated balance sheets.
6 Included in other long-term liabilities in the condensed consolidated balance sheets.
The components of our facilities, office buildings and vehicles' lease costs for the three and six months ended June 30, 2021 and 2020 were as follows (in thousands):
Three Months Ended
June 30,
Six Months Ended
June 30,
2021202020212020
Operating lease costs
$3,743 $1,915 $6,757 $3,912 
Financing lease costs:
Amortization of financing lease right-of-use assets
1741388117
Interest expense for financing lease liabilities
4642446
Total financing lease costs
220171,12523
Short-term lease costs
16983341222
Total lease costs
$4,132 $2,015 $8,223 $4,157 

Weighted average remaining lease terms and discount rates for our facilities, office buildings and vehicles as of June 30, 2021 and December 31, 2020 were as follows:
June 30,December 31,
20212020
Remaining lease term (years):
Operating leases
9.5 years6.7 years
Finance leases
3.4 years4.2 years
Discount rate:
Operating leases
9.3 %8.7 %
Finance leases
7.5 %7.0 %

Future lease payments under lease agreements for our facilities, office buildings, and vehicles as of June 30, 2021, were as follows (in thousands):
Operating LeasesFinance Leases
Remainder of 2021
$6,926 $555 
2022
12,654 757 
2023
14,397 753 
2024
12,944 594 
2025
13,135 290 
Thereafter
73,762 75 
Total minimum lease payments
133,818 3,024 
Less: amounts representing interest or imputed interest
(50,002)(387)
Present value of lease liabilities
$83,816 $2,637 
Managed Services and Portfolio Financings Through PPA Entities
Certain of our customers enter into Managed Services or Portfolio Financings through a PPA Entity to finance their lease of Bloom Energy Servers. Prior to our adoption of ASC 842 as of January 1, 2020, such arrangements with customers that qualified as leases were classified as either sales-type leases or operating leases. For all pre-existing Managed Services arrangements or Portfolio Financings through PPA Entities, we have carried over the accounting classifications for those transactions and continue to account for such transactions as either sales-type leases or operating leases under ASC 842. Customer arrangements under Managed Services and Portfolio Financings through PPA Entities entered into after January 1, 2021 do not contain a lease under ASC 842 and are accounted for under ASC 606 as revenue arrangements.
Lease agreements under our Managed Services arrangements and Portfolio Financings through PPA Entities include non-cancellable lease terms, during which terms the majority of our investment in Energy Servers under lease are typically recovered. We mitigate remaining residual value risk of its Energy Servers through its provision of maintenance on the Energy Servers during the lease term and through insurance whose proceeds are payable in the event of theft, loss, damage, or destruction.
Managed Services Financings - Our Managed Services arrangements with financiers are accounted for as financing transactions. Payments received from the financier are recognized as financing obligations in our condensed consolidated balance sheets. These financing obligations are included in each agreements' contract value and are recognized as short-term or long-term liabilities based on the estimated payment dates. The lease agreements expire on various dates through 2034 and there was no recorded rent expense for the three months ended June 30, 2021 and 2020.
At June 30, 2021, future lease payments under the Managed Services financing obligations and the sublease payments from the customers under the related operating leases were as follows (in thousands):
Financing Obligations
Sublease Payments1
Remainder of 2021$20,760 $(20,760)
202242,252 (42,252)
202343,192 (43,192)
202441,093 (41,093)
202540,056 (40,056)
Thereafter89,883 (89,883)
Total lease payments277,236 $(277,236)
Less: imputed interest(161,742) 
Total lease obligations115,494  
Less: current obligations(13,818) 
Long-term lease obligations$101,676  
1 Sublease Payments primarily represents the fees received by the bank from our customer for the electricity generated by our Energy Servers leased under our Managed Services and other similar arrangements, which also pay down our financing obligation to the bank.
The long-term financing obligations, as reflected in our condensed consolidated balance sheets, were $459.9 million and $460.0 million as of June 30, 2021 and December 31, 2020, respectively. The difference between these obligations and the principal obligations in the table above will be offset against the carrying value of the related Energy Servers at the end of the lease and the remainder recognized as a gain at that point.
Portfolio Financings through PPA Entities - Customer arrangements entered into prior to January 1, 2020 under Portfolio Financing arrangements through a PPA Entity that qualified as leases are accounted for as either sales-type leases or operating leases. Since January 1, 2020, we have not entered into any new PPAs with customers under such arrangements.
The components of our aggregate net investment in sales-type leases under our Portfolio Financings through PPA entities consisted of the following (in thousands):
June 30,December 31,
20212020
Lease payment receivables, net1
$47,170 $49,806 
Estimated residual value of leased assets (unguaranteed)
890 890 
Net investment in sales-type leases
48,060 50,696 
Less: current portion(5,603)(5,428)
Non-current portion of net investment in sales-type leases$42,457 $45,268 
1 Net of current estimated credit losses of approximately $0.1 million and $0.1 million as of June 30, 2021 and December 31, 2020, respectively.
As of June 30, 2021, the future scheduled customer payments from sales-type leases were as follows (in thousands):
Future minimum lease payments
Remainder of 2021$2,971 
20226,110 
20236,435 
20246,797 
20257,125 
Thereafter19,176 
Total undiscounted cash flows48,614 
Less: imputed interest(1,393)
Present value of lease payments1
$47,221 
1 Amount comprises a current and long-term portion of lease receivables of $5.6 million and $42.5 million, respectively, after giving effect to a $0.1 million current expected credit loss reserve on the long-term portion, which is reflected as a component of the net investment in sales-type leases presented in our condensed consolidated statement of financial position as customer financing receivables.
Future estimated operating lease payments we expect to receive from Portfolio Financing arrangements through PPA Entities as of June 30, 2021, were as follows (in thousands):
Operating Leases
Remainder of 2021$21,798 
202244,258 
202345,345 
202446,590 
202547,612 
Thereafter
264,207 
Total lease payments
$469,810 
Leases Leases
Facilities, Office Buildings, and Vehicles
We lease most of our facilities, office buildings and vehicles under operating and finance leases that expire at various dates through February 2036. We lease various manufacturing facilities in Sunnyvale, Fremont and Mountain View, California. Our Sunnyvale manufacturing facility lease was entered into in April 2005 and expires in December 2023. In June 2020 and in March 2021, we signed leases in Fremont that will expire in 2027 and 2036, respectively, to replace our manufacturing facilities in Sunnyvale and Mountain View. The existing plants together comprise approximately 534,894 square feet of space. In June 2021, we extended the lease term for our headquarters in San Jose, California to 2031 and leased two additional floors. We lease additional office space as field offices in the United States and around the world including in Dubai, India, the Republic of Korea, China and Taiwan.
Some of these arrangements have free rent periods or escalating rent payment provisions. We recognize lease cost under such arrangements on a straight-line basis over the life of the leases. For the three months ended June 30, 2021 and 2020, rent expense for all occupied facilities was $3.8 million and $1.9 million, respectively. For the six months ended June 30, 2021 and 2020, rent expense for all occupied facilities was $7.0 million and $4.0 million, respectively.
Our leases have lease terms ranging from less than 1 year to 15 years, some of which include options to extend the leases. The lease term is the non-cancelable period of the lease and includes options to extend or terminate the lease when it is reasonably certain that an option will be exercised.
Operating and financing lease right-of-use assets and lease liabilities for facilities, office buildings and vehicles as of June 30, 2021 and December 31, 2020 were as follows (in thousands):
June 30,December 31,
20212020
Assets:
Operating lease right-of-use assets, net 1, 2
$69,708 $35,621 
Financing lease right-of-use assets, net 2, 3, 4
2,532 334
Total
$72,240 $35,955 
Liabilities:
Current:
Operating lease liabilities
$5,375 $7,899 
Financing lease liabilities 5
759 74 
Total current lease liabilities
6,134 7,973 
Non-current:
Operating lease liabilities
78,441 41,849 
Financing lease liabilities 6
1,878 267 
Total non-current lease liabilities
80,319 42,116 
Total lease liabilities
$86,453 $50,089 
1 These assets primarily include leases for facilities, office buildings and vehicles.
2 Net of accumulated amortization.
3 These assets primarily include leases for vehicles.
4 Included in property, plant and equipment, net, in the condensed consolidated balance sheets, net of accumulated amortization.
5 Included in accrued expenses and other current liabilities in the condensed consolidated balance sheets.
6 Included in other long-term liabilities in the condensed consolidated balance sheets.
The components of our facilities, office buildings and vehicles' lease costs for the three and six months ended June 30, 2021 and 2020 were as follows (in thousands):
Three Months Ended
June 30,
Six Months Ended
June 30,
2021202020212020
Operating lease costs
$3,743 $1,915 $6,757 $3,912 
Financing lease costs:
Amortization of financing lease right-of-use assets
1741388117
Interest expense for financing lease liabilities
4642446
Total financing lease costs
220171,12523
Short-term lease costs
16983341222
Total lease costs
$4,132 $2,015 $8,223 $4,157 

Weighted average remaining lease terms and discount rates for our facilities, office buildings and vehicles as of June 30, 2021 and December 31, 2020 were as follows:
June 30,December 31,
20212020
Remaining lease term (years):
Operating leases
9.5 years6.7 years
Finance leases
3.4 years4.2 years
Discount rate:
Operating leases
9.3 %8.7 %
Finance leases
7.5 %7.0 %

Future lease payments under lease agreements for our facilities, office buildings, and vehicles as of June 30, 2021, were as follows (in thousands):
Operating LeasesFinance Leases
Remainder of 2021
$6,926 $555 
2022
12,654 757 
2023
14,397 753 
2024
12,944 594 
2025
13,135 290 
Thereafter
73,762 75 
Total minimum lease payments
133,818 3,024 
Less: amounts representing interest or imputed interest
(50,002)(387)
Present value of lease liabilities
$83,816 $2,637 
Managed Services and Portfolio Financings Through PPA Entities
Certain of our customers enter into Managed Services or Portfolio Financings through a PPA Entity to finance their lease of Bloom Energy Servers. Prior to our adoption of ASC 842 as of January 1, 2020, such arrangements with customers that qualified as leases were classified as either sales-type leases or operating leases. For all pre-existing Managed Services arrangements or Portfolio Financings through PPA Entities, we have carried over the accounting classifications for those transactions and continue to account for such transactions as either sales-type leases or operating leases under ASC 842. Customer arrangements under Managed Services and Portfolio Financings through PPA Entities entered into after January 1, 2021 do not contain a lease under ASC 842 and are accounted for under ASC 606 as revenue arrangements.
Lease agreements under our Managed Services arrangements and Portfolio Financings through PPA Entities include non-cancellable lease terms, during which terms the majority of our investment in Energy Servers under lease are typically recovered. We mitigate remaining residual value risk of its Energy Servers through its provision of maintenance on the Energy Servers during the lease term and through insurance whose proceeds are payable in the event of theft, loss, damage, or destruction.
Managed Services Financings - Our Managed Services arrangements with financiers are accounted for as financing transactions. Payments received from the financier are recognized as financing obligations in our condensed consolidated balance sheets. These financing obligations are included in each agreements' contract value and are recognized as short-term or long-term liabilities based on the estimated payment dates. The lease agreements expire on various dates through 2034 and there was no recorded rent expense for the three months ended June 30, 2021 and 2020.
At June 30, 2021, future lease payments under the Managed Services financing obligations and the sublease payments from the customers under the related operating leases were as follows (in thousands):
Financing Obligations
Sublease Payments1
Remainder of 2021$20,760 $(20,760)
202242,252 (42,252)
202343,192 (43,192)
202441,093 (41,093)
202540,056 (40,056)
Thereafter89,883 (89,883)
Total lease payments277,236 $(277,236)
Less: imputed interest(161,742) 
Total lease obligations115,494  
Less: current obligations(13,818) 
Long-term lease obligations$101,676  
1 Sublease Payments primarily represents the fees received by the bank from our customer for the electricity generated by our Energy Servers leased under our Managed Services and other similar arrangements, which also pay down our financing obligation to the bank.
The long-term financing obligations, as reflected in our condensed consolidated balance sheets, were $459.9 million and $460.0 million as of June 30, 2021 and December 31, 2020, respectively. The difference between these obligations and the principal obligations in the table above will be offset against the carrying value of the related Energy Servers at the end of the lease and the remainder recognized as a gain at that point.
Portfolio Financings through PPA Entities - Customer arrangements entered into prior to January 1, 2020 under Portfolio Financing arrangements through a PPA Entity that qualified as leases are accounted for as either sales-type leases or operating leases. Since January 1, 2020, we have not entered into any new PPAs with customers under such arrangements.
The components of our aggregate net investment in sales-type leases under our Portfolio Financings through PPA entities consisted of the following (in thousands):
June 30,December 31,
20212020
Lease payment receivables, net1
$47,170 $49,806 
Estimated residual value of leased assets (unguaranteed)
890 890 
Net investment in sales-type leases
48,060 50,696 
Less: current portion(5,603)(5,428)
Non-current portion of net investment in sales-type leases$42,457 $45,268 
1 Net of current estimated credit losses of approximately $0.1 million and $0.1 million as of June 30, 2021 and December 31, 2020, respectively.
As of June 30, 2021, the future scheduled customer payments from sales-type leases were as follows (in thousands):
Future minimum lease payments
Remainder of 2021$2,971 
20226,110 
20236,435 
20246,797 
20257,125 
Thereafter19,176 
Total undiscounted cash flows48,614 
Less: imputed interest(1,393)
Present value of lease payments1
$47,221 
1 Amount comprises a current and long-term portion of lease receivables of $5.6 million and $42.5 million, respectively, after giving effect to a $0.1 million current expected credit loss reserve on the long-term portion, which is reflected as a component of the net investment in sales-type leases presented in our condensed consolidated statement of financial position as customer financing receivables.
Future estimated operating lease payments we expect to receive from Portfolio Financing arrangements through PPA Entities as of June 30, 2021, were as follows (in thousands):
Operating Leases
Remainder of 2021$21,798 
202244,258 
202345,345 
202446,590 
202547,612 
Thereafter
264,207 
Total lease payments
$469,810 
Leases Leases
Facilities, Office Buildings, and Vehicles
We lease most of our facilities, office buildings and vehicles under operating and finance leases that expire at various dates through February 2036. We lease various manufacturing facilities in Sunnyvale, Fremont and Mountain View, California. Our Sunnyvale manufacturing facility lease was entered into in April 2005 and expires in December 2023. In June 2020 and in March 2021, we signed leases in Fremont that will expire in 2027 and 2036, respectively, to replace our manufacturing facilities in Sunnyvale and Mountain View. The existing plants together comprise approximately 534,894 square feet of space. In June 2021, we extended the lease term for our headquarters in San Jose, California to 2031 and leased two additional floors. We lease additional office space as field offices in the United States and around the world including in Dubai, India, the Republic of Korea, China and Taiwan.
Some of these arrangements have free rent periods or escalating rent payment provisions. We recognize lease cost under such arrangements on a straight-line basis over the life of the leases. For the three months ended June 30, 2021 and 2020, rent expense for all occupied facilities was $3.8 million and $1.9 million, respectively. For the six months ended June 30, 2021 and 2020, rent expense for all occupied facilities was $7.0 million and $4.0 million, respectively.
Our leases have lease terms ranging from less than 1 year to 15 years, some of which include options to extend the leases. The lease term is the non-cancelable period of the lease and includes options to extend or terminate the lease when it is reasonably certain that an option will be exercised.
Operating and financing lease right-of-use assets and lease liabilities for facilities, office buildings and vehicles as of June 30, 2021 and December 31, 2020 were as follows (in thousands):
June 30,December 31,
20212020
Assets:
Operating lease right-of-use assets, net 1, 2
$69,708 $35,621 
Financing lease right-of-use assets, net 2, 3, 4
2,532 334
Total
$72,240 $35,955 
Liabilities:
Current:
Operating lease liabilities
$5,375 $7,899 
Financing lease liabilities 5
759 74 
Total current lease liabilities
6,134 7,973 
Non-current:
Operating lease liabilities
78,441 41,849 
Financing lease liabilities 6
1,878 267 
Total non-current lease liabilities
80,319 42,116 
Total lease liabilities
$86,453 $50,089 
1 These assets primarily include leases for facilities, office buildings and vehicles.
2 Net of accumulated amortization.
3 These assets primarily include leases for vehicles.
4 Included in property, plant and equipment, net, in the condensed consolidated balance sheets, net of accumulated amortization.
5 Included in accrued expenses and other current liabilities in the condensed consolidated balance sheets.
6 Included in other long-term liabilities in the condensed consolidated balance sheets.
The components of our facilities, office buildings and vehicles' lease costs for the three and six months ended June 30, 2021 and 2020 were as follows (in thousands):
Three Months Ended
June 30,
Six Months Ended
June 30,
2021202020212020
Operating lease costs
$3,743 $1,915 $6,757 $3,912 
Financing lease costs:
Amortization of financing lease right-of-use assets
1741388117
Interest expense for financing lease liabilities
4642446
Total financing lease costs
220171,12523
Short-term lease costs
16983341222
Total lease costs
$4,132 $2,015 $8,223 $4,157 

Weighted average remaining lease terms and discount rates for our facilities, office buildings and vehicles as of June 30, 2021 and December 31, 2020 were as follows:
June 30,December 31,
20212020
Remaining lease term (years):
Operating leases
9.5 years6.7 years
Finance leases
3.4 years4.2 years
Discount rate:
Operating leases
9.3 %8.7 %
Finance leases
7.5 %7.0 %

Future lease payments under lease agreements for our facilities, office buildings, and vehicles as of June 30, 2021, were as follows (in thousands):
Operating LeasesFinance Leases
Remainder of 2021
$6,926 $555 
2022
12,654 757 
2023
14,397 753 
2024
12,944 594 
2025
13,135 290 
Thereafter
73,762 75 
Total minimum lease payments
133,818 3,024 
Less: amounts representing interest or imputed interest
(50,002)(387)
Present value of lease liabilities
$83,816 $2,637 
Managed Services and Portfolio Financings Through PPA Entities
Certain of our customers enter into Managed Services or Portfolio Financings through a PPA Entity to finance their lease of Bloom Energy Servers. Prior to our adoption of ASC 842 as of January 1, 2020, such arrangements with customers that qualified as leases were classified as either sales-type leases or operating leases. For all pre-existing Managed Services arrangements or Portfolio Financings through PPA Entities, we have carried over the accounting classifications for those transactions and continue to account for such transactions as either sales-type leases or operating leases under ASC 842. Customer arrangements under Managed Services and Portfolio Financings through PPA Entities entered into after January 1, 2021 do not contain a lease under ASC 842 and are accounted for under ASC 606 as revenue arrangements.
Lease agreements under our Managed Services arrangements and Portfolio Financings through PPA Entities include non-cancellable lease terms, during which terms the majority of our investment in Energy Servers under lease are typically recovered. We mitigate remaining residual value risk of its Energy Servers through its provision of maintenance on the Energy Servers during the lease term and through insurance whose proceeds are payable in the event of theft, loss, damage, or destruction.
Managed Services Financings - Our Managed Services arrangements with financiers are accounted for as financing transactions. Payments received from the financier are recognized as financing obligations in our condensed consolidated balance sheets. These financing obligations are included in each agreements' contract value and are recognized as short-term or long-term liabilities based on the estimated payment dates. The lease agreements expire on various dates through 2034 and there was no recorded rent expense for the three months ended June 30, 2021 and 2020.
At June 30, 2021, future lease payments under the Managed Services financing obligations and the sublease payments from the customers under the related operating leases were as follows (in thousands):
Financing Obligations
Sublease Payments1
Remainder of 2021$20,760 $(20,760)
202242,252 (42,252)
202343,192 (43,192)
202441,093 (41,093)
202540,056 (40,056)
Thereafter89,883 (89,883)
Total lease payments277,236 $(277,236)
Less: imputed interest(161,742) 
Total lease obligations115,494  
Less: current obligations(13,818) 
Long-term lease obligations$101,676  
1 Sublease Payments primarily represents the fees received by the bank from our customer for the electricity generated by our Energy Servers leased under our Managed Services and other similar arrangements, which also pay down our financing obligation to the bank.
The long-term financing obligations, as reflected in our condensed consolidated balance sheets, were $459.9 million and $460.0 million as of June 30, 2021 and December 31, 2020, respectively. The difference between these obligations and the principal obligations in the table above will be offset against the carrying value of the related Energy Servers at the end of the lease and the remainder recognized as a gain at that point.
Portfolio Financings through PPA Entities - Customer arrangements entered into prior to January 1, 2020 under Portfolio Financing arrangements through a PPA Entity that qualified as leases are accounted for as either sales-type leases or operating leases. Since January 1, 2020, we have not entered into any new PPAs with customers under such arrangements.
The components of our aggregate net investment in sales-type leases under our Portfolio Financings through PPA entities consisted of the following (in thousands):
June 30,December 31,
20212020
Lease payment receivables, net1
$47,170 $49,806 
Estimated residual value of leased assets (unguaranteed)
890 890 
Net investment in sales-type leases
48,060 50,696 
Less: current portion(5,603)(5,428)
Non-current portion of net investment in sales-type leases$42,457 $45,268 
1 Net of current estimated credit losses of approximately $0.1 million and $0.1 million as of June 30, 2021 and December 31, 2020, respectively.
As of June 30, 2021, the future scheduled customer payments from sales-type leases were as follows (in thousands):
Future minimum lease payments
Remainder of 2021$2,971 
20226,110 
20236,435 
20246,797 
20257,125 
Thereafter19,176 
Total undiscounted cash flows48,614 
Less: imputed interest(1,393)
Present value of lease payments1
$47,221 
1 Amount comprises a current and long-term portion of lease receivables of $5.6 million and $42.5 million, respectively, after giving effect to a $0.1 million current expected credit loss reserve on the long-term portion, which is reflected as a component of the net investment in sales-type leases presented in our condensed consolidated statement of financial position as customer financing receivables.
Future estimated operating lease payments we expect to receive from Portfolio Financing arrangements through PPA Entities as of June 30, 2021, were as follows (in thousands):
Operating Leases
Remainder of 2021$21,798 
202244,258 
202345,345 
202446,590 
202547,612 
Thereafter
264,207 
Total lease payments
$469,810 
Leases Leases
Facilities, Office Buildings, and Vehicles
We lease most of our facilities, office buildings and vehicles under operating and finance leases that expire at various dates through February 2036. We lease various manufacturing facilities in Sunnyvale, Fremont and Mountain View, California. Our Sunnyvale manufacturing facility lease was entered into in April 2005 and expires in December 2023. In June 2020 and in March 2021, we signed leases in Fremont that will expire in 2027 and 2036, respectively, to replace our manufacturing facilities in Sunnyvale and Mountain View. The existing plants together comprise approximately 534,894 square feet of space. In June 2021, we extended the lease term for our headquarters in San Jose, California to 2031 and leased two additional floors. We lease additional office space as field offices in the United States and around the world including in Dubai, India, the Republic of Korea, China and Taiwan.
Some of these arrangements have free rent periods or escalating rent payment provisions. We recognize lease cost under such arrangements on a straight-line basis over the life of the leases. For the three months ended June 30, 2021 and 2020, rent expense for all occupied facilities was $3.8 million and $1.9 million, respectively. For the six months ended June 30, 2021 and 2020, rent expense for all occupied facilities was $7.0 million and $4.0 million, respectively.
Our leases have lease terms ranging from less than 1 year to 15 years, some of which include options to extend the leases. The lease term is the non-cancelable period of the lease and includes options to extend or terminate the lease when it is reasonably certain that an option will be exercised.
Operating and financing lease right-of-use assets and lease liabilities for facilities, office buildings and vehicles as of June 30, 2021 and December 31, 2020 were as follows (in thousands):
June 30,December 31,
20212020
Assets:
Operating lease right-of-use assets, net 1, 2
$69,708 $35,621 
Financing lease right-of-use assets, net 2, 3, 4
2,532 334
Total
$72,240 $35,955 
Liabilities:
Current:
Operating lease liabilities
$5,375 $7,899 
Financing lease liabilities 5
759 74 
Total current lease liabilities
6,134 7,973 
Non-current:
Operating lease liabilities
78,441 41,849 
Financing lease liabilities 6
1,878 267 
Total non-current lease liabilities
80,319 42,116 
Total lease liabilities
$86,453 $50,089 
1 These assets primarily include leases for facilities, office buildings and vehicles.
2 Net of accumulated amortization.
3 These assets primarily include leases for vehicles.
4 Included in property, plant and equipment, net, in the condensed consolidated balance sheets, net of accumulated amortization.
5 Included in accrued expenses and other current liabilities in the condensed consolidated balance sheets.
6 Included in other long-term liabilities in the condensed consolidated balance sheets.
The components of our facilities, office buildings and vehicles' lease costs for the three and six months ended June 30, 2021 and 2020 were as follows (in thousands):
Three Months Ended
June 30,
Six Months Ended
June 30,
2021202020212020
Operating lease costs
$3,743 $1,915 $6,757 $3,912 
Financing lease costs:
Amortization of financing lease right-of-use assets
1741388117
Interest expense for financing lease liabilities
4642446
Total financing lease costs
220171,12523
Short-term lease costs
16983341222
Total lease costs
$4,132 $2,015 $8,223 $4,157 

Weighted average remaining lease terms and discount rates for our facilities, office buildings and vehicles as of June 30, 2021 and December 31, 2020 were as follows:
June 30,December 31,
20212020
Remaining lease term (years):
Operating leases
9.5 years6.7 years
Finance leases
3.4 years4.2 years
Discount rate:
Operating leases
9.3 %8.7 %
Finance leases
7.5 %7.0 %

Future lease payments under lease agreements for our facilities, office buildings, and vehicles as of June 30, 2021, were as follows (in thousands):
Operating LeasesFinance Leases
Remainder of 2021
$6,926 $555 
2022
12,654 757 
2023
14,397 753 
2024
12,944 594 
2025
13,135 290 
Thereafter
73,762 75 
Total minimum lease payments
133,818 3,024 
Less: amounts representing interest or imputed interest
(50,002)(387)
Present value of lease liabilities
$83,816 $2,637 
Managed Services and Portfolio Financings Through PPA Entities
Certain of our customers enter into Managed Services or Portfolio Financings through a PPA Entity to finance their lease of Bloom Energy Servers. Prior to our adoption of ASC 842 as of January 1, 2020, such arrangements with customers that qualified as leases were classified as either sales-type leases or operating leases. For all pre-existing Managed Services arrangements or Portfolio Financings through PPA Entities, we have carried over the accounting classifications for those transactions and continue to account for such transactions as either sales-type leases or operating leases under ASC 842. Customer arrangements under Managed Services and Portfolio Financings through PPA Entities entered into after January 1, 2021 do not contain a lease under ASC 842 and are accounted for under ASC 606 as revenue arrangements.
Lease agreements under our Managed Services arrangements and Portfolio Financings through PPA Entities include non-cancellable lease terms, during which terms the majority of our investment in Energy Servers under lease are typically recovered. We mitigate remaining residual value risk of its Energy Servers through its provision of maintenance on the Energy Servers during the lease term and through insurance whose proceeds are payable in the event of theft, loss, damage, or destruction.
Managed Services Financings - Our Managed Services arrangements with financiers are accounted for as financing transactions. Payments received from the financier are recognized as financing obligations in our condensed consolidated balance sheets. These financing obligations are included in each agreements' contract value and are recognized as short-term or long-term liabilities based on the estimated payment dates. The lease agreements expire on various dates through 2034 and there was no recorded rent expense for the three months ended June 30, 2021 and 2020.
At June 30, 2021, future lease payments under the Managed Services financing obligations and the sublease payments from the customers under the related operating leases were as follows (in thousands):
Financing Obligations
Sublease Payments1
Remainder of 2021$20,760 $(20,760)
202242,252 (42,252)
202343,192 (43,192)
202441,093 (41,093)
202540,056 (40,056)
Thereafter89,883 (89,883)
Total lease payments277,236 $(277,236)
Less: imputed interest(161,742) 
Total lease obligations115,494  
Less: current obligations(13,818) 
Long-term lease obligations$101,676  
1 Sublease Payments primarily represents the fees received by the bank from our customer for the electricity generated by our Energy Servers leased under our Managed Services and other similar arrangements, which also pay down our financing obligation to the bank.
The long-term financing obligations, as reflected in our condensed consolidated balance sheets, were $459.9 million and $460.0 million as of June 30, 2021 and December 31, 2020, respectively. The difference between these obligations and the principal obligations in the table above will be offset against the carrying value of the related Energy Servers at the end of the lease and the remainder recognized as a gain at that point.
Portfolio Financings through PPA Entities - Customer arrangements entered into prior to January 1, 2020 under Portfolio Financing arrangements through a PPA Entity that qualified as leases are accounted for as either sales-type leases or operating leases. Since January 1, 2020, we have not entered into any new PPAs with customers under such arrangements.
The components of our aggregate net investment in sales-type leases under our Portfolio Financings through PPA entities consisted of the following (in thousands):
June 30,December 31,
20212020
Lease payment receivables, net1
$47,170 $49,806 
Estimated residual value of leased assets (unguaranteed)
890 890 
Net investment in sales-type leases
48,060 50,696 
Less: current portion(5,603)(5,428)
Non-current portion of net investment in sales-type leases$42,457 $45,268 
1 Net of current estimated credit losses of approximately $0.1 million and $0.1 million as of June 30, 2021 and December 31, 2020, respectively.
As of June 30, 2021, the future scheduled customer payments from sales-type leases were as follows (in thousands):
Future minimum lease payments
Remainder of 2021$2,971 
20226,110 
20236,435 
20246,797 
20257,125 
Thereafter19,176 
Total undiscounted cash flows48,614 
Less: imputed interest(1,393)
Present value of lease payments1
$47,221 
1 Amount comprises a current and long-term portion of lease receivables of $5.6 million and $42.5 million, respectively, after giving effect to a $0.1 million current expected credit loss reserve on the long-term portion, which is reflected as a component of the net investment in sales-type leases presented in our condensed consolidated statement of financial position as customer financing receivables.
Future estimated operating lease payments we expect to receive from Portfolio Financing arrangements through PPA Entities as of June 30, 2021, were as follows (in thousands):
Operating Leases
Remainder of 2021$21,798 
202244,258 
202345,345 
202446,590 
202547,612 
Thereafter
264,207 
Total lease payments
$469,810