XML 18 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Cash flows from operating activities:    
Net income (loss) $ 3,350 $ (219)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 5,730 3,415
Amortization of deferred financing costs and debt discount 72 1,255
Payment of imputed interest on debt   (3,893)
Deferred taxes (8,137) (27)
Stock-based compensation 7,776 481
Change in fair value of warrant liability   (639)
Change in fair value of acquisition-related contingent consideration 960 146
Other noncash items 17  
Loss on extinguishment of debt   1,396
Changes in operating assets and liabilities, net of effect from acquisition:    
Accounts receivable, net (1,676) (1,729)
Inventories 130 (305)
Rebates receivable (30) 759
Prepaid expenses and other current assets (169) (114)
Other assets (58) (171)
Accounts payable 29 (191)
Accrued expenses and other liabilities 3,274 340
Other long-term liabilities 432 1,973
Net cash provided by operating activities 11,700 2,477
Cash flows from investing activities:    
Purchases of property and equipment (2,618) (2,947)
Software development costs (2,223) (1,201)
Purchase of intangible assets   (29)
Change in restricted cash   200
Purchase of businesses, net of cash acquired (34,452) (1,000)
Net cash used in investing activities (39,293) (4,977)
Cash flows from financing activities:    
Payments for repurchase of common stock (959)  
Proceeds from exercise of stock options 194 0
Payments for employee taxes for shares withheld (2,123)  
Payments for debt financing costs (220) (1,521)
Borrowings on line of credit 35,342 6,000
Repayments of line of credit (342)  
Payments of acquisition-related consideration (550) (180)
Repayment of note payable related to acquisition   (14,337)
Payments of initial public offering costs (132) (2,191)
Payments of contingent consideration (1,498) (1,895)
Proceeds from long-term debt   30,000
Repayments of long-term debt (525) (13,609)
Net cash provided by financing activities 29,187 2,267
Net increase (decrease) in cash 1,594 (233)
Cash, beginning of period 4,345 2,026
Cash, end of period 5,939 1,793
Supplemental disclosure of cash flow information    
Acquisition of equipment under capital leases 50 1,470
Additions to property, equipment, and software development purchases included in accounts payable 46 238
Deferred offering costs included in accounts payable   1,006
Cash paid for interest 156 7,901
Decretion of redeemable convertible preferred stock to redemption value   $ (2,439)
Stock issued in connection with acquisition $ 11,541