XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Cash flows from operating activities    
Net loss $ (29,127) $ (36,193)
Adjustments to reconcile net loss to net cash used in operating activities:    
Provision for doubtful accounts (93) 13,794
Depreciation and amortization 3,234 3,096
Write-off and amortization of debt issuance costs 606 242
Share-based compensation expense 618 674
Gain on disposal of property and equipment (62) 0
Change in fair value of convertible senior notes 2,423 1,021
Changes in operating assets and liabilities:    
Accounts receivable 54,578 34,735
Inventory 9,195 4,435
Prepaid expenses and other assets (11,592) (15,934)
Accounts payable (28,436) (9,934)
Accrued expenses 69 (5,000)
Reserve for sales returns and allowances (3,394) (2,279)
Income taxes payable 3 66
Other liabilities 83 (111)
Total adjustments 27,232 24,805
Net cash used in operating activities (1,895) (11,388)
Cash flows from investing activities    
Purchases of property and equipment (2,459) (2,568)
Net cash used in investing activities (2,459) (2,568)
Cash flows from financing activities    
Repayment of credit facility borrowings (7,500) (5,000)
Repurchase of common stock for employee tax withholding (249) (85)
Net cash used in financing activities (7,749) (5,085)
Net decrease in cash, cash equivalents and restricted cash (12,103) (19,041)
Effect of foreign currency translation 1,303 843
Cash, cash equivalents and restricted cash, beginning of period 58,205 64,977
Cash, cash equivalents and restricted cash, end of period 47,405 46,779
Cash paid during the period for:    
Income taxes (61) 331
Interest $ 838 $ 485