v3.5.0.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
OPERATING ACTIVITIES:    
Net income $ 10,202 $ 10,279
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 2,612 1,123
Stock-based compensation 1,048 251
Change in fair value of preferred stock warrant liabilities 9,458 1,162
Other 810 532
Changes in operating assets and liabilities:    
Accounts receivable (82,322) (49,016)
Prepaid expenses and other assets (2,425) (2,908)
Accounts payable 94,352 10,749
Accrued expenses and other liabilities 5,252 2,303
Net cash provided by (used in) operating activities 38,987 (25,525)
INVESTING ACTIVITIES:    
Purchase of property and equipment (3,516) (1,463)
Capitalized software development costs (1,796) (1,236)
Redemption of short-term investment   551
Net cash used in investing activities (5,312) (2,148)
FINANCING ACTIVITIES:    
Proceeds from line of credit 75,847 20,000
Repayment on line of credit (40,000)  
Repayment of term debt (30,000)  
Payment of debt financing costs (976)  
Payment of financing obligations (326) (53)
Proceeds from issuance of Series C convertible preferred stock 60,000  
Repurchase of preferred stock and common stock (54,000)  
Proceeds from exercise of stock options 433 71
Payment of stock repurchase costs (155)  
Proceeds from the issuance of Class A common stock in initial public offering, net of underwriting commissions 78,120  
Payment of offering costs - initial public offering (2,568)  
Payment of Series C convertible preferred stock offering costs (129)  
Net cash provided by financing activities 86,246 20,018
Increase (decrease) in cash 119,921 (7,655)
Cash - Beginning of period 4,047 17,315
Cash - End of period 123,968 9,660
SUPPLEMENTAL DISCLOSURES OF OTHER CASH FLOW INFORMATION:    
Cash paid for income taxes 10,354 8,342
Cash paid for interest 1,379 559
Capitalized assets financed by accounts payable 1,803 118
Asset retirement obligation 354  
Stock-based compensation included in capitalized development costs 9 $ 10
Conversion of convertible preferred stock to Class B common stock 83,241  
Conversion of warrant for convertible preferred stock to a warrant for Class B common stock and net exercise of warrant to purchase Class B common stock 12,596  
Deferred initial public offering costs included in accounts payable 1,758  
Net exercise of warrants to purchase Series Seed convertible preferred stock $ 3,789