XML 21 R8.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities      
Net loss $ (37,730) $ (48,398) $ (47,479)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Depreciation and amortization 5,244 4,296 3,844
Stock-based compensation expense 48,633 45,771 35,784
Recovery of doubtful accounts (125) (159) (92)
Amortization of premiums and discounts on marketable securities, net 3,024 668 13
Amortization of debt discount and issuance costs 9,171 8,889 3,262
Gain on settlement of equity securities (3,698) 0 0
Deferred income tax (1,973) 0 (65)
Changes in assets and liabilities:      
Accounts receivable (7,683) (8,028) 5,166
Deferred costs (19,207) (15,953) (10,268)
Operating lease right-of-use asset 4,197 3,906 2,552
Other receivables (391) (680) (1,250)
Prepaid expenses and other (6,522) (2,492) (2,084)
Other assets (1,222) (215) (1,860)
Accounts payable 972 (4,106) 2,153
Deferred revenue 47,419 37,479 32,039
Operating lease liability (4,934) (4,525) (3,035)
Accrued expenses and other liabilities 14,669 16,790 12,238
Net cash provided by operating activities 49,844 33,243 30,918
Cash flows from investing activities      
Purchase of property and equipment (3,534) (1,873) (3,104)
Purchase of marketable securities (170,070) (175,926) (112,565)
Maturities of marketable securities 143,159 62,922 26,840
Sale of marketable securities 250 11,423 498
Acquisitions, net of cash acquired (37,467) 0 0
Purchase of intangible assets (219) (296) (734)
Other investments (750) 0 (1,000)
Net cash used in investing activities (68,631) (103,750) (90,065)
Cash flows from financing activities      
Proceeds from option exercises 16,600 19,189 24,152
Taxes paid related to net share settlements of stock-based compensation awards (27,144) (13,657) (390)
Proceeds from shares issued in connection with employee stock purchase plan 8,861 7,227 4,922
Proceeds from the issuance of convertible senior notes, net of issuance costs 0 0 335,899
Principal payments on finance lease obligations (1,705) (1,641) (1,565)
Net cash (used in) provided by financing activities (3,388) 11,118 363,018
Effect of foreign exchange rates on cash (270) 478 287
Net (decrease) increase in cash and cash equivalents (22,445) (58,911) 304,158
Cash and cash equivalents at beginning of year 322,831 381,742 77,584
Cash and cash equivalents at end of year 300,386 322,831 381,742
Supplemental cash flow disclosure      
Cash paid for interest 4,837 5,067 1,340
Cash paid for income taxes, net of refunds (41) 679 371
Supplemental disclosure of noncash investing and financing activities      
Allowance for tenant improvements 0 149 270
Purchases of property and equipment, accrued but not paid $ 350 $ 263 $ 144