In millions, except per share items | Dec-31-22 | Dec-31-21 | Dec-31-20 | Dec-31-19 | Dec-31-18 |
| 10-K | 10-K | 10-K | 10-K/A | S-1/A |
Cash flows from operating activities: | | | | | |
Net loss | -740.3 | -240.3 | -34.0 | -103.6 | -121.3 |
Adjustments to reconcile net loss to net cash used in operating activities: | | | | | |
Depreciation and amortization | 50.8 | 24.9 | 8.6 | 8.1 | 4.2 |
Stockbased compensation | 48.0 | 28.8 | 8.0 | 5.2 | 3.0 |
Goodwill impairment | | | | 0.4 | |
Amortization (accretion) of discount on investments | -0.9 | 3.0 | 0.1 | -1.6 | -0.5 |
Amortization of deferred costs on convertible notes | 0.5 | | | | |
Provision for bad debt | 1.0 | 0.4 | 0.4 | 0.2 | |
Loss on disposal of property and equipment | 0.2 | 0.1 | 0.0 | 0.0 | 0.1 |
Net increase (decrease) in accrued interest related to marketable securities | 0.8 | -0.8 | 0.0 | 0.0 | 0.1 |
Net unrealized (gain) loss on equity investment | 6.3 | 9.7 | | | |
Net unrealized (gain) loss on other investments | 1.9 | -0.1 | | -1.4 | |
Deferred tax benefit | -1.5 | -29.7 | -0.9 | | |
Change in fair value of contingent consideration | -1.6 | -0.4 | | | |
Foreign currency transaction (gain) loss | 0.0 | 0.0 | | | |
Changes in operating assets and liabilities: | | | | | |
Accounts receivable | 6.7 | -18.3 | -2.4 | -1.7 | -3.1 |
Inventory | -28.2 | -17.0 | -1.3 | -1.7 | -7.0 |
Prepaid expenses and other current assets | 1.8 | -8.9 | 0.9 | 0.8 | 0.7 |
Other assets | 2.5 | 0.0 | | | |
Accounts payable | -6.6 | 12.8 | -2.6 | -4.5 | 9.1 |
Accrued expenses and other current liabilities | -10.6 | -8.8 | -2.4 | 3.3 | -0.5 |
Customer deposits | | | | | |
Deferred revenue | -4.7 | 6.0 | 0.8 | -1.7 | 3.9 |
Change in right of use assets and lease liabilities, net | -4.3 | -0.6 | -0.3 | -0.3 | |
Other liabilities | 0.0 | 1.6 | | | |
Net cash used in operating activities | -181.5 | -155.0 | -80.6 | -97.2 | -111.0 |
|
Cash flows from investing activities: | | | | | |
Purchases of property and equipment | -11.5 | -7.7 | -1.4 | -6.9 | -14.0 |
Proceeds from sale of property and equipment | 0.0 | 0.0 | | | 0.0 |
Purchase of marketable securities | -158.4 | -330.9 | -136.3 | -215.6 | -96.8 |
Proceeds from sales and maturities of marketable securities | 248.2 | 243.3 | 109.0 | 196.8 | 151.0 |
Cash paid for acquisitions, net of cash acquired | 0.0 | -287.6 | -5.3 | -0.1 | |
Net cash provided by investing activities | 81.6 | -427.3 | -37.0 | -26.0 | 39.0 |
|
Cash flows from financing activities: | | | | | |
Proceeds from the exercise of stock options | 3.2 | 6.4 | 0.3 | 0.7 | 0.4 |
Payment of taxes related to net share settlement upon vesting of restricted stock units | -0.2 | -0.5 | | | |
Repayment of loans | -0.5 | -10.0 | 5.4 | | |
Proceeds from issuance of convertible notes | 115.0 | | | | |
Costs incurred in connection with the issuance of convertible notes | -3.6 | | | | |
Net cash provided by financing activities | 113.8 | 166.6 | 534.9 | 160.4 | 45.4 |
Effect of exchange rate changes on cash, cash equivalents and restricted cash | -0.2 | -0.1 | | | |
Net increase (decrease) in cash, cash equivalents, and restricted cash | 13.7 | -415.9 | 417.4 | | |
|
Supplemental disclosures of cash flow information | | | | | |
Cash and cash equivalents | | | | | |
|
Noncash investing and financing activities: | | | | | |
Net unrealized (gain) loss on investments | 1.9 | -0.1 | | -1.4 | |
Additions to right of use assets and lease liabilities | 10.8 | 5.6 | | 0.3 | |
Purchase of property and equipment included in accounts payable | 0.5 | 0.1 | | 0.1 | 0.3 |
Purchase of property and equipment included in accrued expense | | 0.0 | | | |
Transfers from property and equipment to inventory | 5.0 | 1.1 | | | |
Transfers from inventory to property and equipment | 4.5 | 1.4 | | | |