XML 15 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities:    
Net loss $ (2,649) $ (9,262)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 4,769 4,365
Amortization of premium on marketable investments (43) 0
Provision for doubtful accounts 66 45
Stock-based compensation 12,122 6,983
Gain on sale of convertible note held for investment (312) 0
Non-cash adjustment on investment (40) (161)
Accretion of interest 44 10
Others (19) (14)
Changes in operating assets and liabilities:    
Accounts receivable (1,114) (2,426)
Prepaid expenses and other current assets (3,140) (4,106)
Deferred contract acquisition costs (3,338) 0
Other assets 4 166
Accounts payable 1,493 1,187
Accrued and other current liabilities 2,415 909
Accrued federal fees and sales tax liability 246 171
Deferred revenue 1,170 2,025
Other liabilities 261 311
Net cash provided by operating activities 13,708 243
Cash flows from investing activities:    
Purchases of marketable investments (109,506) 0
Proceeds from maturities of marketable investments 1,400 0
Purchases of property and equipment (1,092) (1,178)
Proceeds from sale of convertible note held for investment 1,923 0
Net cash used in investing activities (107,275) (1,178)
Cash flows from financing activities:    
Proceeds from issuance of convertible senior notes, net of issuance costs paid of $7,946 250,804 0
Payments for capped call transactions (31,412) 0
Proceeds from exercise of common stock options 5,821 2,303
Proceeds from sale of common stock under ESPP 2,884 1,800
Repayments on revolving line of credit (32,594) 0
Payments of notes payable (318) (400)
Payments of capital leases (4,403) (3,741)
Net cash provided by (used in) financing activities 190,782 (38)
Net increase (decrease) in cash and cash equivalents 97,215 (973)
Cash and cash equivalents:    
Beginning of period 68,947 58,122
End of period 166,162 57,149
Supplemental disclosures of cash flow data:    
Cash paid for interest 1,457 1,691
Cash paid for income taxes 67 69
Non-cash investing and financing activities:    
Equipment obtained under capital lease 4,993 4,012
Equipment purchased and unpaid at period-end 737 51
Payment on debt issuance cost 7,946  
Line of Credit    
Adjustments to reconcile net loss to net cash provided by operating activities:    
Amortization of debt discount and issuance costs 40 40
Convertible debt    
Adjustments to reconcile net loss to net cash provided by operating activities:    
Amortization of debt discount and issuance costs $ 1,733 $ 0