XML 15 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
OPERATING ACTIVITIES:    
Net income $ 33,987 $ 10,202
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 5,157 2,612
Stock-based compensation 12,406 1,048
Change in fair value of preferred stock warrant liabilities   9,458
Bad debt expense 3,943 384
Other (1,312) 426
Changes in operating assets and liabilities:    
Accounts receivable (95,215) (82,322)
Prepaid expenses and other assets (7,296) (2,425)
Accounts payable 51,855 94,352
Accrued expenses and other liabilities 3,506 5,252
Net cash provided by operating activities 7,031 38,987
INVESTING ACTIVITIES:    
Purchases of property and equipment (8,357) (3,516)
Capitalized software development costs (2,479) (1,796)
Net cash used in investing activities (10,836) (5,312)
FINANCING ACTIVITIES:    
Proceeds from line of credit   75,847
Repayment on line of credit   (40,000)
Repayment of term debt   (30,000)
Payment of debt financing costs (153) (976)
Payment of financing obligations (677) (326)
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 1,768 433
Proceeds from employee stock purchase plan 2,294  
Taxes paid related to net settlement of restricted stock awards (29)  
Payment of stock repurchase costs   (155)
Payment of Series C convertible preferred stock offering costs   (129)
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)
Net cash provided by financing activities 3,203 86,246
Increase (decrease) in cash and cash equivalents (602) 119,921
Cash and cash equivalents—Beginning of period 133,400 4,047
Cash and cash equivalents—End of period 132,798 123,968
SUPPLEMENTAL CASH FLOW INFORMATION:    
Capitalized assets financed by accounts payable 945 1,803
Tenant improvements paid by lessor 640  
Stock-based compensation included in capitalized software development costs 453 9
Debt financing costs included in debt, net $ 1,153  
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
Asset retirement obligation   $ 354