XML 20 R7.htm IDEA: XBRL DOCUMENT v3.24.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities      
Net income (loss) $ 38,113 $ 91,083 $ (5,888)
Provision for (recovery of) doubtful accounts 726 233 (1,397)
Depreciation and amortization 8,585 10,578 10,251
Payment-in-kind interest 0 0 1,519
Write-off and amortization of debt discount 714 845 1,419
Write-off and amortization of debt issuance costs 647 708 1,304
Share-based compensation expense 8,027 5,082 2,093
Gain on disposal of property and equipment (40) (46) (67)
Intangibles impairment 0 300 0
Gain on loan forgiveness 0 0 (6,206)
Loss on debt extinguishment 1,023 0 7,351
Deferred income taxes (10,339) (57,855) (72)
Change in fair value of convertible senior notes 0 0 16,419
Change in fair value of preferred stock derivative liability 8,029 636 13,220
Changes in operating assets and liabilities:      
Accounts receivable (21,752) 44,390 (43,743)
Inventory 27,972 3,335 (45,312)
Prepaid expenses and other assets (12) 4,753 7,330
Account payable 9,595 (18,056) 19,752
Account payable - Meisheng (related party) 1,918 (5,411) 5,265
Accrued expenses 7,104 (9,073) 7,767
Reserve for sales returns and allowances (13,346) 5,592 4,177
Income taxes payable (4,064) 9,875 (212)
Other liabilities 3,504 (870) (849)
Total adjustments 28,291 (4,984) 9
Net cash provided by (used in) operating activities 66,404 86,099 (5,879)
Cash flows from investing activities      
Purchases of property and equipment (8,906) (10,389) (8,221)
Investments in employee deferred compensation trusts (41) 0 0
Proceeds from sale of property and equipment 40 2 32
Net cash used in investing activities (8,907) (10,387) (8,189)
Cash flows from financing activities      
Repurchase of common stock for employee tax withholding (3,070) (1,420) (164)
Repayment of credit facility borrowings (10,000) (13,000) (16,000)
Proceeds from credit facility borrowings 10,000 13,000 16,000
Repayment of 2021 BSP Term Loan (69,218) (29,604) (495)
Net proceeds from issuance of long-term debt 0 0 96,306
Deferred issuance costs 0 0 (2,629)
Repayment of 2019 Recap Term Loan 0 0 (125,805)
Net cash used in financing activities (72,288) (31,024) (32,787)
Net increase (decrease) in cash, cash equivalents and restricted cash (14,791) 44,688 (46,855)
Effect of foreign currency translation 1,855 (4,530) (506)
Cash, cash equivalents and restricted cash, beginning of year 85,490 45,332 92,693
Cash, cash equivalents and restricted cash, end of year 72,554 85,490 45,332
Supplemental disclosures of non-cash activities:      
Forgiveness of Paycheck Protection Program Loan 0 0 6,206
Right-of-use assets exchanged for lease liabilities 1,648 5,789 4,757
Supplemental disclosures of cash flow information:      
Cash paid for interest 4,718 9,040 13,355
Cash paid for income taxes, net $ 21,635 $ 7,669 $ 1,615