XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Cash flows from operating activities    
Net loss $ (51,612) $ (54,781)
Adjustments to reconcile net loss to net cash used in operating activities:    
Provision for doubtful accounts (248) 12,468
Depreciation and amortization 7,473 7,428
Write-off and amortization of debt issuance costs 803 556
Share-based compensation expense 1,015 987
Gain on disposal of property and equipment (61) (28)
Change in fair value of convertible senior notes 2,529 3,431
Changes in operating assets and liabilities:    
Accounts receivable 37,407 29,710
Inventory 359 (3,729)
Prepaid expenses and other assets (12,079) (19,840)
Accounts payable 6,785 18,497
Accrued expenses 3,714 (6,675)
Reserve for sales returns and allowances (4,905) 3,713
Income taxes payable 13 (267)
Other liabilities (58) (190)
Total adjustments 42,747 46,061
Net cash used in operating activities (8,865) (8,720)
Cash flows from investing activities    
Purchases of property and equipment (5,205) (6,510)
Net cash used in investing activities (5,205) (6,510)
Cash flows from financing activities    
Repayment of credit facility borrowings (7,500) (5,000)
Deferred issuance costs 0 (1,447)
Proceeds from term loan facility 0 20,000
Repayment of term loan (167) 0
Repurchase of common stock for employee tax withholding (273) (85)
Net cash (used in) provided by financing activities (7,940) 13,468
Net decrease in cash, cash equivalents and restricted cash (22,010) (1,762)
Effect of foreign currency translation 853 (224)
Cash, cash equivalents and restricted cash, beginning of period 58,205 64,977
Cash, cash equivalents and restricted cash, end of period 37,048 62,991
Cash paid during the period for:    
Income taxes 68 712
Interest $ 5,063 $ 3,592