XML 23 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Operating activities    
Net income (loss) $ 5,364 $ (64,174)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 2,202 2,063
Amortization of right-of-use assets 1,326 1,261
Gain on disposal of property and equipment and from lease termination   (76)
Amortization of premium (accretion of discounts) on marketable securities 369 (78)
Loss on debt extinguishment 5,232  
Change in fair value of warrant liability 23,455 17,045
Stock compensation expense 9,747 5,866
Cost of sales - amortization of intangible assets   2,500
Interest expense 2,806 1,726
Tenant improvements provided by the landlord   908
Changes in operating assets and liabilities:    
Accounts and other receivables, net (83,239) 7,983
Inventories, net (22,762) (13,060)
Prepaid manufacturing (6,875)  
Prepaid expenses and other current assets (247) (2,083)
Other assets (265) 163
Accounts payable 7,209 (3,993)
Lease liabilities (1,554) (1,383)
Deferred revenue 91,345  
Long-term deferred revenue 106,950  
Accrued liabilities and other liabilities 7,757 (3,355)
Net cash provided by (used in) operating activities 148,820 (48,687)
Investing activities    
Acquisition of technology licenses   (7,000)
Purchases of marketable securities (164,928) (103,182)
Proceeds from maturities and redemptions of marketable securities 81,355 74,400
Purchases of property and equipment, net (2,812) (3,038)
Net cash used in investing activities (86,385) (38,820)
Financing activities    
Proceeds from issuance of common stock, net 28,156 107,697
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 3,376  
Proceeds from exercise of stock options and restricted stock awards, net 1,335 13
Proceeds from Employee Stock Purchase Plan 383 311
Net cash provided by financing activities 35,638 108,021
Effect of exchange rate changes on cash, cash equivalents and restricted cash (546) 88
Net increase in cash, cash equivalents and restricted cash 97,527 20,602
Cash, cash equivalents and restricted cash at beginning of period 32,310 40,100
Cash, cash equivalents and restricted cash at end of period 129,837 60,702
Supplemental disclosure of cash flow information    
Cash paid during the period for interest 2,053 7,757
Non-cash investing and financing activities:    
Purchases of property and equipment, not yet paid $ 2,131 $ 124