XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net loss $ (64,107) $ (87,602)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 10,842 8,621
Stock-based compensation expense 54,050 49,483
(Amortization) accretion of marketable securities (9,413) 1,020
Impairment of long-lived assets 1,275 5,095
Other 202 493
Changes in operating assets and liabilities:    
Accounts receivable, net (19,686) (23,428)
Prepaid expenses and other assets (14,269) (13,522)
Operating lease right-of-use assets 2,407 2,507
Accounts payable and accrued expenses 15,863 4,462
Accrued compensation and other liabilities 2,259 (1,151)
Operating lease liabilities (4,139) (3,136)
Deferred revenue 23,037 19,758
Net cash used in operating activities (1,679) (37,400)
Cash flows from investing activities:    
Purchases of marketable securities (121,756) (180,552)
Proceeds from maturities of marketable securities 235,000 15,000
Purchases of property, equipment, and software (721) (717)
Capitalized internal-use software costs (7,604) (7,266)
Purchases of content assets (1,300) (954)
Net cash provided by (used in) investing activities 103,619 (174,489)
Cash flows from financing activities:    
Proceeds from exercise of stock options 14,114 11,787
Proceeds from employee stock purchase plan 3,530 4,596
Payments for repurchases of common stock (53,066) 0
Payment of deferred offering costs 0 (295)
Payments for tax withholding on vesting of restricted stock units (24,855) (4,852)
Net cash (used in) provided by financing activities (60,277) 11,236
Net increase (decrease) in cash, cash equivalents, and restricted cash 41,663 (200,653)
Cash, cash equivalents, and restricted cash—Beginning of period 322,878 582,719
Cash, cash equivalents, and restricted cash—End of period 364,541 382,066
Reconciliation of cash, cash equivalents, and restricted cash:    
Cash and cash equivalents 361,201 380,005
Restricted cash, current 1,574 0
Restricted cash, non-current 1,766 2,061
Total cash, cash equivalents, and restricted cash 364,541 382,066
Supplemental disclosure of cash flow information:    
Cash paid for income taxes, net of refunds 2,284 1,475
Supplemental disclosure of noncash investing and financing activities:    
Stock-based compensation capitalized as internal-use software costs 3,605 3,230
Unsettled repurchases of common stock 1,463 0
Unpaid purchases of content assets $ 1,193 $ 0