XML 18 R7.htm IDEA: XBRL DOCUMENT v3.23.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities    
Net loss $ (279) $ (13,062)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities    
Depreciation and amortization 18,692 18,087
Non-cash reduction to the right-of-use asset 3,242 3,724
Amortization of debt discount and issuance costs 1,485 1,533
Stock-based compensation 15,383 10,167
Deferred taxes and other (5,225) (2,187)
Net gain on extinguishment of debt (12,767) 0
Gain on business interruption insurance recoveries (4,000) 0
Changes in operating assets and liabilities:    
Accounts receivable, net of allowances 3,712 (16,672)
Prepaid expenses and other assets (957) (10,497)
Accounts payable (6,171) 11,742
Accrued expenses and other liabilities (12,464) 1,433
Operating right-of-use liability (3,919) (3,944)
Net cash (used in) provided by operating activities (3,268) 324
Cash flows from investing activities    
Purchase of property, plant and equipment (3,859) (9,035)
Deposits for construction in progress 0 (14,545)
Capitalized software development costs (5,001) (1,231)
Purchase of marketable securities (40,625) (137,786)
Proceeds from sales and maturities of marketable securities 81,233 0
Proceeds from sale of business 835 0
Net cash provided by (used in) investing activities 32,583 (162,597)
Cash flows from financing activities    
Payments on finance leases (90) (126)
Net cash paid for debt extinguishment (51,259) 0
Payment of debt issuance costs 0 (487)
Proceeds from exercises of stock options 413 162
Value of equity awards withheld for tax liabilities (1,000) (1,937)
Net cash used in financing activities (51,936) (2,388)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 27 (1,434)
Net decrease in cash, cash equivalents, and restricted cash (22,594) (166,095)
Cash, cash equivalents, and restricted cash, beginning of period 114,622 332,289
Cash, cash equivalents, and restricted cash, end of period 92,028 166,194
Reconciliation of cash, cash equivalents, and restricted cash, end of period    
Cash and cash equivalents 91,824 165,310
Restricted cash included in prepaid expenses and other current assets 204 884
Total cash, cash equivalents, and restricted cash, end of period 92,028 166,194
Supplemental disclosure of cash flow information    
Cash (received from) paid for interest (417) 1,280
Cash paid for taxes, net 2,593 528
Right-of-use assets obtained in exchange for new operating lease liabilities 297 3,404
Supplemental disclosure of noncash investing and financing activities    
Purchase of property, plant and equipment, accrued but not paid 2,924 778
Purchase of property and equipment through lease incentive 53,125 2,206
Purchase of property and equipment through use of escrow deposits $ 20,000 $ 0