XML 25 R9.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Operating Activities    
Net (loss) income $ (285,415) $ 13,416
Adjustments to reconcile net (loss) income to net cash used in operating activities:    
Depreciation, depletion and amortization 41,527 14,934
Accounts Receivable, Credit Loss Expense (Reversal) 2,998 (110)
Provision for inventory obsolescence 16,449 1,201
Restructuring expenses 6,091 0
Stock-based compensation expense 8,354 5,006
Non-cash operating lease expense 9,751 5,660
Impairment charges 192,328 0
Change in fair value of contingent consideration (1,560) (2,610)
Deferred income tax benefit (9,310) (20,996)
Other 1,210 1,364
Changes in assets and liabilities:    
Accounts receivable 16,665 (1,926)
Inventories 57,023 (46,849)
Prepaid expenses and other current assets 3,663 2,761
Other assets 262 (1,781)
Accounts payable (11,998) (12,303)
Accrued expenses and other current liabilities (4,532) (3,238)
Deferred revenue (13,297) 5,080
Lease liabilities (7,850) (4,676)
Other long-term liabilities (370) 0
Net cash provided by (used in) operating activities 21,989 (45,067)
Investing activities    
Business combinations, net of cash and cash equivalents 190 (462,172)
Capital expenditures of property, plant and equipment (8,229) (5,402)
Other (448) (610)
Net cash used in investing activities (8,487) (468,184)
Financing activities    
Proceeds from issuance of common stock upon follow-on public offering, net of offering costs 0 309,782
Proceeds from exercises of investor warrants 0 56,778
Payment of withholding tax related to restricted stock units (2,470) (20,025)
Borrowings under revolving credit facilities 853 142,628
Repayments of revolving credit facilities (1,102) (143,003)
Repayments of Term Loan (1,250) 0
Proceeds from issuance of Term Loan, net of discount and issuance costs 0 119,879
Payments to settle contingent consideration (15,474) 0
Other (757) (1,332)
Net cash (used in) provided by financing activities (20,200) 464,707
Effect of exchange rate changes on cash, cash equivalents and restricted cash (395) (27)
Net decrease in cash, cash equivalents and restricted cash (7,093) (48,571)
Cash, cash equivalents and restricted cash at beginning of year 28,384 76,955
Cash, cash equivalents and restricted cash at end of year 21,291 28,384
Non-cash investing and financing activities    
Issuance of common stock as consideration in connection with business combinations 0 53,611
Increase in accrued expenses and other current liabilities for contingent consideration 0 19,644
Right-of-use assets acquired under operating lease obligation 28,972 22,873
Supplemental information    
Cash paid for interest 9,643 1,621
Cash paid for income taxes $ 3,906 $ 1,963