XML 16 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash flows from operating activities    
Net loss $ (36,193) $ (18,285)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 3,096 4,380
Write-off and amortization of debt issuance costs 242 837
Share-based compensation expense 676 748
Provision for doubtful accounts 13,794 (2)
Change in fair value of convertible senior notes 1,021  
Changes in operating assets and liabilities:    
Accounts receivable 34,735 75,108
Inventory 4,435 7,969
Prepaid expenses and other assets (15,936) (15,597)
Accounts payable (9,934) (19,258)
Accrued expenses (5,000) (20,001)
Reserve for sales returns and allowances (2,279) (5,873)
Income taxes payable 66  
Other liabilities (111) (95)
Total adjustments 24,805 28,216
Net cash provided by (used in) operating activities (11,388) 9,931
Cash flows from investing activities    
Purchases of property and equipment (2,568) (4,367)
Net cash used in investing activities (2,568) (4,367)
Cash flows from financing activities    
Repurchase of convertible senior notes   (24,052)
Repayment of credit facility borrowings (5,000)  
Repurchase of common stock for employee tax withholding (85) (12)
Net cash used in financing activities (5,085) (24,064)
Net decrease in cash and cash equivalents (19,041) (18,500)
Effect of foreign currency translation 843 468
Cash and cash equivalents, beginning of period 64,977 86,064
Cash and cash equivalents, end of period 46,779 68,032
Cash paid during the period for:    
Income taxes 331 221
Interest $ 485 $ 2,039