XML 20 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Operating activities    
Net loss $ (23,066) $ (59,773)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 3,280 3,166
Amortization of right-of-use assets 2,013 1,906
Gain on disposal of property and equipment and from lease termination 0 (76)
Amortization of premium (accretion of discounts) on marketable securities 442 193
Realized gain on available-for-sale securities 0 (56)
Loss on debt extinguishment 5,232 0
Change in fair value of warrant liability 68,576 (4,200)
Stock compensation expense 15,123 9,968
Cost of sales - amortization of intangible assets 0 2,500
Interest expense 2,546 2,129
Tenant improvements provided by the landlord 0 908
Gain on sale of assets (1,000) (6,851)
Changes in operating assets and liabilities:    
Accounts and other receivables, net (177,701) (22,137)
Inventories, net (3,608) (17,701)
Prepaid manufacturing (80,340) 0
Prepaid expenses and other current assets (51,887) (11,406)
Other assets (50) 106
Accounts payable (545) (1,433)
Lease liabilities (2,416) (2,131)
Deferred revenue 320,376 21,712
Long-term deferred revenue 67,969 0
Accrued liabilities and other liabilities 70,087 6,668
Net cash provided by (used in) operating activities 215,031 (76,508)
Investing activities    
Acquisition of technology licenses   (7,000)
Purchases of marketable securities (164,927) (171,982)
Proceeds from maturities and redemptions of marketable securities 129,655 117,650
Proceeds from sales of marketable securities 0 20,902
Purchases of property and equipment, net (6,441) (3,303)
Proceeds from sale of assets, net of transaction costs 1,000 2,859
Net cash used in investing activities (40,713) (40,874)
Financing activities    
Proceeds from issuance of common stock, net 28,156 108,537
Proceeds from issuance of Convertible Notes, net 219,822  
Purchases of capped call options (27,240)  
Repayment of long-term debt (190,194)  
Proceeds from warrants exercises 4,258  
Proceeds from exercise of stock options and restricted stock awards, net 5,317 224
Proceeds from Employee Stock Purchase Plan 841 672
Net cash provided by financing activities 40,960 109,433
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,013) 763
Net increase (decrease) in cash, cash equivalents and restricted cash 214,265 (7,186)
Cash, cash equivalents and restricted cash at beginning of period 32,310 40,100
Cash, cash equivalents and restricted cash at end of period 246,575 32,914
Supplemental disclosure of cash flow information    
Cash paid during the period for interest 6,965 12,149
Non-cash investing and financing activities:    
Purchases of property and equipment, not yet paid 1,561  
Right-of-use assets obtained in exchange of lease liabilities (modification) $ 2,468 $ 364