XML 17 R6.htm IDEA: XBRL DOCUMENT v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Cash flows from operating activities    
Net loss $ (2,835) $ (35,198)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Provision for doubtful accounts 1,793 601
Depreciation and amortization 8,992 14,471
Payment-in-kind interest 3,370 624
Amortization of debt discount 2,093 393
Write-off and amortization of debt issuance costs 1,053 1,103
Share-based compensation expense 1,506 1,872
Gain on disposal of property and equipment (101) (72)
Loss on extinguishment of debt 0 13,205
Change in fair value of convertible senior notes (2,757) 2,992
Change in fair value of preferred stock derivative liability 624 0
Changes in operating assets and liabilities:    
Accounts receivable (50,640) (79,111)
Inventory (324) (11,418)
Prepaid expenses and other assets 11,514 (2,731)
Accounts payable 33,505 79,360
Accrued expenses 4,370 30,343
Reserve for sales returns and allowances 5,852 8,706
Income taxes payable (1,485) 7
Other liabilities (584) 962
Total adjustments 18,781 61,307
Net cash provided by operating activities 15,946 26,109
Cash flows from investing activities    
Purchases of property and equipment (6,171) (7,624)
Proceeds from sale of property and equipment 51 12
Net cash used in investing activities (6,120) (7,612)
Cash flows from financing activities    
Retirement of convertible senior notes (1,905) 0
Repayment of credit facility borrowings 0 (7,500)
Debt issuance costs 0 (4,957)
Term loan prepayment penalty 0 (393)
Proceeds from loan under the Paycheck Protection Program 6,206 0
Net proceeds from credit facility borrowings 0 5,000
Net proceeds from issuance of long term debt 0 27,356
Repayment of term loan facility 0 (20,000)
Repurchase of common stock for employee tax withholding (174) (273)
Net cash provided by (used in) financing activities 4,127 (767)
Net increase in cash, cash equivalents and restricted cash 13,953 17,730
Effect of foreign currency translation (419) (45)
Cash, cash equivalents and restricted cash, beginning of period 66,286 58,205
Cash, cash equivalents and restricted cash, end of period 79,820 75,890
Cash paid during the period for:    
Income taxes 2,846 152
Interest $ 12,344 $ 5,956