In millions, except per share items | Dec-31-22 | Dec-31-21 | Dec-31-20 | Dec-31-19 | Dec-31-18 | Dec-31-17 | Dec-31-16 |
| 8-K | 10-K | 10-K | 10-K | 10-K | 10-K | 10-K |
Cash flows from operating activities: | | | | | | | |
Net loss | | -193.4 | -179.1 | -323.5 | -291.3 | -295.0 | -336.3 |
Adjustments to reconcile net loss to net cash used in operating activities: | | | | | | | |
Depreciation and amortization | | 53.5 | 52.3 | 78.6 | 53.9 | 54.4 | 43.1 |
Non-cash lease expense | | 9.7 | 5.3 | | | | |
Loss (gain) on disposal of property, plant and equipment | | | 0.0 | 3.1 | 0.9 | 0.0 | 0.1 |
Revaluation of derivative contracts | | 17.5 | -0.5 | 2.8 | 29.0 | 15.0 | 1.3 |
Write-off of assets related to PPA IIIa | | | | | | | 2.1 |
Stock-based compensation | | 73.3 | 73.9 | 196.3 | 168.5 | 29.1 | 28.2 |
Amortization of warrants and debt issuance costs | | 3.8 | 6.5 | 22.1 | 25.4 | | |
Loss on extinguishment of debt | | | 11.8 | | | | |
Changes in operating assets and liabilities: | | | | | | | |
Accounts receivable | | 8.6 | -61.7 | 52.0 | -55.0 | 3.2 | -0.7 |
Contract assets | | -21.9 | | | | | |
Inventories | | -0.9 | -33.0 | 18.4 | -37.0 | -10.6 | -0.2 |
Deferred cost of revenue | | 17.6 | 19.9 | -22.0 | 14.2 | -31.3 | -84.7 |
Customer financing receivable | | 5.4 | 5.2 | 5.5 | 4.9 | 5.5 | -211.7 |
Prepaid expenses and other current assets | | 1.5 | -3.1 | 8.6 | -8.0 | -1.0 | -8.4 |
Other long-term assets | | -2.9 | 2.9 | 3.6 | -0.2 | 0.8 | -1.0 |
Operating lease right-of-use assets and operating lease liabilities | | -13.0 | -2.9 | | | | |
Accounts payable | | 13.1 | -0.6 | -11.3 | 18.3 | 7.1 | 4.8 |
Accrued warranty | | | | | | | |
Accrued expenses and other current liabilities | | -2.1 | 17.8 | 6.7 | -6.0 | 8.0 | 11.3 |
Deferred revenue and customer deposits | | -22.7 | -13.0 | 37.1 | -21.8 | 48.3 | |
Other long-term liabilities | | -4.3 | -4.5 | 4.4 | 19.6 | 37.6 | 46.8 |
Net cash used in operating activities | | -60.7 | -98.8 | 163.8 | -91.9 | -92.0 | -282.8 |
|
Cash flows from investing activities: | | | | | | | |
Purchase of property, plant and equipment | | -49.8 | -37.9 | -51.1 | -45.2 | -61.5 | -9.0 |
Net cash used in investing activities | | -46.7 | -37.9 | 53.4 | -125.4 | -88.2 | -9.0 |
|
Cash flows from financing activities: | | | | | | | |
Payment of debt issuance costs | | -2.0 | -13.2 | | | -6.1 | -0.2 |
Debt make-whole payment related to PPA IIIa debt | | | | | | | |
Repayment of recourse debt | | -123.4 | -176.5 | -119.3 | -18.8 | -20.5 | -32.2 |
Proceeds from financing obligations | | 16.8 | 26.3 | 72.3 | 70.3 | 84.3 | |
Repayment of financing obligations | | -13.6 | -10.8 | -9.0 | -6.2 | -3.2 | |
Distributions and payments to noncontrolling interests | | -5.8 | -7.6 | -12.5 | -15.3 | -23.7 | -45.8 |
Proceeds from issuance of common stock | | 89.8 | 23.5 | 12.7 | 1.5 | 2.4 | 3.1 |
Contributions from noncontrolling interest | | | 6.5 | | | 13.7 | 209.9 |
Net cash provided by (used in) financing activities | | 306.4 | 176.0 | -120.3 | 317.2 | 142.9 | 283.4 |
Effect of exchange rate changes on cash, cash equivalent and restricted cash | | -0.6 | | | | | |
|
Supplemental disclosure of cash flow information: | | | | | | | |
Cash paid during the period for interest | | 68.7 | 71.7 | 69.9 | 59.5 | 37.6 | 20.5 |
Cash paid for amounts included in the measurement of lease liabilities: | | | | | | | |
Operating cash flows from operating leases | | 17.4 | 2.9 | | | | |
Cash paid during the period for income taxes | | 0.6 | 0.4 | 0.9 | 1.7 | 0.6 | 0.6 |
Non-cash investing and financing activities: | | | | | | | |
Liabilities recorded for property, plant and equipment, net | | 6.1 | 7.2 | 1.7 | 12.2 | 1.0 | 1.0 |
Recognition of operating lease right-of-use asset during the year-to-date period | | 82.8 | 12.8 | | | | |