XML 20 R8.htm IDEA: XBRL DOCUMENT v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities    
Net loss $ (47,174) $ (36,255)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 24,502 20,695
Non-cash leases expense 6,830 6,059
Stock-based compensation expense, net of amounts capitalized 36,973 30,265
Deferred income taxes 195 (415)
Gain on sale of a private company investment (1,001) (1,001)
Other 1,678 286
Changes in assets and liabilities:    
Accounts receivable (1,506) (2,065)
Prepaid expenses and other assets (6,714) (3,387)
Accounts payable and accrued liabilities 5,659 1,996
Accrued compensation (4,408) (6,311)
Deferred revenue 18,720 18,576
Operating lease liabilities (7,659) (6,731)
Net cash provided by operating activities 26,095 21,712
Cash flows from investing activities    
Acquisition, net of cash acquired 0 (53,138)
Purchases of property and equipment (772) (1,335)
Capitalized internal-use software (5,372) (6,527)
Proceeds from sale of a private company investment 1,001 1,001
Net cash used in investing activities (5,143) (59,999)
Cash flows from financing activities    
Proceeds from stock option exercises 24,279 37,593
Proceeds from employee stock purchase plan 3,082 2,662
Repayment of debt (1,100) (1,100)
Net cash provided by financing activities 26,261 39,155
Effect of exchange rate changes on cash (1,090) (55)
Net increase in cash, cash equivalents and restricted cash 46,123 813
Cash, cash equivalents and restricted cash at beginning of period 131,683 154,371
Cash, cash equivalents and restricted cash at end of period 177,806 155,184
Supplemental cash flow data:    
Interest paid for term debt 5,198 6,913
Income taxes paid 394 676
Non-cash investing and financing transactions:    
Fair value of common stock issued as acquisition consideration 0 30,092
Stock compensation included in capitalized software costs 1,486 2,031
Accrued unpaid capital expenditures 7 321
Lease liabilities arising from obtaining right-of-use assets, net 0 2,477
Proceeds receivable from stock option exercises 1,350 0
Derecognized financing obligation related to building due to adoption of ASC 842 0 92,009
Derecognized building due to adoption of ASC 842 $ 0 $ 71,781