XML 24 R7.htm IDEA: XBRL DOCUMENT v3.22.4
Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities      
Net income (loss) $ (55,181) $ 82,631 $ (69,333)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 8,799 7,491 5,794
Amortization of premium (accretion of discount) on marketable securities 127 3,160 (272)
Stock-based compensation 48,913 36,975 31,619
Abandonment of capitalized intangible assets 1,510 934 535
Loss on disposal of assets 145 462 4
Gain on sale of marketable securities available-for-sale 0 0 (153)
Equity received in connection with license agreement (5,397) (22,379) (26,660)
Equity received in connection with sale of financial assets 0 (3,300) 0
Cash redemption of equity received in connection with license agreement 0 0 5,390
Change in fair value of equity securities (23,434) (20,988) (105)
Equity securities impairment 138 762 0
Changes in operating assets and liabilities:      
Accounts receivable and contract assets 37,387 (54,941) 10,131
Interest receivable from marketable debt securities (530) 655 1,190
Prepaid expenses and other assets 634 (13,151) (4,170)
Income tax 0 0 895
Contract asset and deposits 0 12,059 (12,401)
Accounts payable (3,913) 5,047 (1,235)
Accrued expenses (715) 1,840 8,608
Lease liabilities and ROU assets 22,976 1,211 (325)
Deferred revenue (6,974) (55,321) 45,484
Net cash provided by (used in) operating activities 24,485 (16,853) (5,004)
Cash flows from investing activities      
Proceeds from sale and maturities of marketable securities available-for-sale 306,607 485,152 757,617
Proceeds from sale of property and equipment 0 19 1
Purchase of marketable securities (387,928) (509,597) (643,658)
Purchase of intangible assets (4,910) (2,682) (3,229)
Purchase of property and equipment (38,494) (13,299) (10,539)
Conversion (purchase) of convertible note 5,000 (5,000) 0
Exercise of stock options 0 (842) 0
Net cash provided by (used in) investing activities (119,725) (46,249) 100,192
Cash flows from financing activities      
Proceeds from issuance of common stock upon exercise of stock awards 3,610 12,281 16,617
Proceeds from issuance of common stock from Employee Stock Purchase Plan 2,092 1,837 1,427
Proceeds from issuance of common stock 0 28,920 0
Net cash provided by financing activities 5,702 43,038 18,044
Net (decrease) increase in cash and cash equivalents (89,538) (20,064) 113,232
Cash and cash equivalents, beginning of year 143,480 163,544 50,312
Cash and cash equivalents, end of year 53,942 143,480 163,544
Cash paid for:      
Interest 13 14 15
Taxes 700 0 0
Supplemental Schedule of Noncash Activities      
Net unrealized gain (loss) on marketable securities available-for-sale (5,442) (1,584) (1,087)
Addition of right-of-use asset $ 6,155 $ 24,047 $ 3,127