XML 17 R6.htm IDEA: XBRL DOCUMENT v3.22.2
Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Operating activities    
Net loss $ (190,266) $ (208,962)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 2,244 4,773
Amortization of intangible assets 2,526 2,526
Stock-based compensation expense 27,082 22,270
Loss on extinguishment of debt 0 17,689
Amortization of debt issuance costs and accretion of debt discount 1,643 13,196
Finance lease amortization expense 1,365 539
Noncash operating lease expense 9,765 9,550
Change in fair value of deferred and contingent consideration liabilities (24,240) 0
Changes in operating assets and liabilities:    
Accounts receivable (6,784) (1,855)
Inventory 724 (11,557)
Prepaid expenses and other current assets 4,101 (7,484)
Other assets (15,531) (22,623)
Accounts payable (3,558) (11,158)
Accrued liabilities, accrued compensation and other (16,533) (10,629)
Net cash used in operating activities (207,462) (203,725)
Investing activities    
Purchase of fixed assets (4,605) (4,666)
Purchase of marketable securities (99,706) 0
Net cash used in investing activities (104,311) (4,666)
Financing activities    
Proceeds from exercise of stock options, ESPP, and RSU vestings 13,264 13,527
Proceeds from issuance of common stock, net 0 269,886
Payment on extinguishment of 1.75% convertible senior notes due 2025 0 (12,578)
Payment of principal on 1.75% convertible senior notes due 2025 0 (225,000)
Proceeds from issuance of 0.75% convertible senior notes due 2028 0 575,000
Payment of debt issuance costs 0 (16,013)
Payments of finance lease principal (494) (522)
Net cash provided by financing activities 12,770 604,300
Effect of exchange rates on cash and cash equivalents (1,701) (338)
Net (decrease) increase in cash and cash equivalents (300,704) 395,571
Cash and cash equivalents at beginning of period 716,782 532,756
Cash and cash equivalents at end of period 416,078 928,327
Supplemental disclosures of cash flow information:    
Cash paid for interest 5,004 5,911
Cash paid for income taxes $ 1,194 $ 997