XML 17 R6.htm IDEA: XBRL DOCUMENT v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities    
Net loss $ (35,266) $ (51,612)
Adjustments to reconcile net loss to net cash used in operating activities:    
Provision for doubtful accounts 423 (248)
Depreciation and amortization 4,461 7,473
Payment-in-kind interest 2,277 0
Amortization of debt discount 1,388 0
Write-off and amortization of debt issuance costs 702 803
Share-based compensation expense 966 1,015
Gain on disposal of property and equipment (115) (61)
Change in fair value of convertible senior notes 52 2,529
Change in fair value of preferred stock derivative liability (2,083) 0
Changes in operating assets and liabilities:    
Accounts receivable 48,516 37,407
Inventory (3,422) 359
Prepaid expenses and other assets 2,142 (12,079)
Accounts payable (9,239) 6,785
Accrued expenses (14,323) 3,714
Reserve for sales returns and allowances (6,053) (4,905)
Income taxes payable (2,064) 13
Other liabilities (264) (58)
Total adjustments 23,364 42,747
Net cash used in operating activities (11,902) (8,865)
Cash flows from investing activities    
Purchases of property and equipment (4,335) (5,205)
Proceeds from sale of property and equipment 65 0
Net cash used in investing activities (4,270) (5,205)
Cash flows from financing activities    
Retirement of convertible senior notes (1,905) 0
Repayment of credit facility borrowings 0 (7,500)
Proceeds from loan under the Paycheck Protection Program 6,206 0
Repayment of term loan 0 (167)
Repurchase of common stock for employee tax withholding (174) (273)
Net cash provided by (used in) financing activities 4,127 (7,940)
Net decrease in cash, cash equivalents and restricted cash (12,045) (22,010)
Effect of foreign currency translation (1,553) 853
Cash, cash equivalents and restricted cash, beginning of period 66,286 58,205
Cash, cash equivalents and restricted cash, end of period 52,688 37,048
Cash paid during the period for:    
Income taxes 2,791 68
Interest $ 6,720 $ 5,063