XML 17 R6.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities    
Net loss $ (39,111) $ (35,266)
Adjustments to reconcile net loss to net cash used in operating activities:    
Provision for doubtful accounts (1,487) 423
Depreciation and amortization 4,572 4,461
Payment-in-kind interest 1,598 2,277
Amortization of debt discount 1,230 1,388
Amortization of debt issuance costs 829 702
Share-based compensation expense 765 966
Gain on disposal of property and equipment (67) (115)
Loss on debt extinguishment 7,351 0
Change in fair value of convertible senior notes 12,844 52
Change in fair value of preferred stock derivative liability 8,914 (2,083)
Changes in operating assets and liabilities:    
Accounts receivable (4,157) 48,516
Inventory (21,938) (3,422)
Prepaid expenses and other assets (14,322) 2,142
Accounts payable 26,864 (9,239)
Accrued expenses (1,731) (14,323)
Reserve for sales returns and allowances 174 (6,053)
Income taxes payable (513) (2,064)
Other liabilities (346) (264)
Total adjustments 20,580 23,364
Net cash used in operating activities (18,531) (11,902)
Cash flows from investing activities    
Purchases of property and equipment (3,725) (4,335)
Proceeds from sale of property and equipment 32 65
Net cash used in investing activities (3,693) (4,270)
Cash flows from financing activities    
Retirement of convertible senior notes 0 (1,905)
Proceeds from loan under the Paycheck Protection Program 0 6,206
Repurchase of common stock for employee tax withholding (164) (174)
Net proceeds from issuance of long term debt 96,306 0
Debt issuance costs (2,787) 0
Repayment of term loan (125,805) 0
Net cash provided by (used in) financing activities (32,450) 4,127
Net decrease in cash, cash equivalents and restricted cash (54,674) (12,045)
Effect of foreign currency translation 322 (1,553)
Cash, cash equivalents and restricted cash, beginning of period 92,693 66,286
Cash, cash equivalents and restricted cash, end of period 38,341 52,688
Cash paid during the period for:    
Income taxes 644 2,791
Interest $ 8,664 $ 6,720