v3.21.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Dec. 31, 2020
Cash flows from operating activities:          
Net loss $ (31,583) $ (26,720) $ (87,365) $ (99,799)  
Adjustments to reconcile net loss to net cash from operating activities:          
Amortization of deferred implementation, solution and other costs     17,394 13,947  
Depreciation and amortization     40,580 38,975  
Amortization of debt issuance costs     1,550 1,427  
Amortization of debt discount     19,398 15,381  
Amortization of premiums on investments     751 114  
Stock-based compensation expense     41,796 38,076  
Realized gain on sale of marketable securities     0 (14)  
Deferred income taxes     52 313  
Allowance for credit losses     50 326  
Allowance for sales credits     25 (20)  
Loss on disposal of long-lived assets     386 94  
Loss on extinguishment of debt 0 0 1,513 0  
Unoccupied lease charges     2,056 2,136  
Changes in operating assets and liabilities:          
Accounts receivable, net     (16,652) (20,263)  
Prepaid expenses and other current assets     (9,997) (2,644)  
Deferred solution and other costs     (9,631) (14,611)  
Deferred implementation costs     (10,260) (13,922)  
Contract assets, net     (3,185) (4,205)  
Other long-term assets     6,324 3,395  
Accounts payable     (3,168) (69)  
Accrued liabilities     (1,029) (5,366)  
Deferred revenues     8,554 19,129  
Deferred rent and other long-term liabilities     (7,528) 5,621  
Net cash used in operating activities     (8,386) (21,979)  
Cash flows from investing activities:          
Purchases of investments     (88,857) (23,619)  
Maturities of investments     119,650 24,871  
Purchases of property and equipment     (16,059) (16,538)  
Business combinations, net of cash acquired     (64,652) 0  
Capitalized software development costs     (3,908) (653)  
Net cash used in investing activities     (53,826) (15,939)  
Cash flows from financing activities:          
Proceeds from issuance of common stock, net of issuance costs     0 311,321  
Payments for repurchases of convertible notes     (63,692) 0  
Proceeds from bond hedges related to convertible notes     26,295 0  
Payments for warrants related to convertible notes     (19,655) 0  
Proceeds from exercise of stock options to purchase common stock     5,822 8,568  
Payment of contingent consideration     0 (16,862)  
Net cash provided by (used in) financing activities     (51,230) 303,027  
Net increase (decrease) in cash, cash equivalents, and restricted cash     (113,442) 265,109  
Cash, cash equivalents, and restricted cash, beginning of period     411,185 103,562 $ 103,562
Cash, cash equivalents, and restricted cash, end of period $ 297,743 $ 368,671 297,743 368,671 $ 411,185
Supplemental disclosures of cash flow information:          
Cash paid for taxes, net of refund     839 381  
Cash paid for interest     1,699 2,910  
Supplemental disclosure of non-cash investing and financing activities:          
Shares acquired to settle the exercise of stock options     (200) (628)  
Data center assets acquired under deferred payment arrangements or financing arrangements     $ 449 $ 1,696