XML 33 R8.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:    
Net loss $ (103,954) $ (99,594)
Adjustments to reconcile net loss to net cash used in operating activities:    
Share-based compensation expense 2,995 8,100
Amortization of net premiums and discounts on investments   562
Amortization of debt discount and debt issuance costs 16,276 16,422
Depreciation and amortization expense 33,953 41,298
Intangible asset impairments   4,131
Loss on assets held for sale   57,896
Change in contingent consideration obligation 2,895 (30,889)
Change in derivative liability (1,156) (39,959)
Gain on disposal of property and equipment   (200)
Non-cash royalty revenue (12,106) (11,486)
Deferred tax provision (benefit) (5,186) 4,667
Changes in assets and liabilities:    
Decrease in accounts receivable 3,191 1,890
Decrease (increase) in prepaid expenses and other current assets 8,419 (1,237)
Decrease (increase) in inventory 7,860 (3,456)
Decrease in other assets   19
Increase (decrease) in accounts payable, accrued expenses and other current liabilities 1,108 (8,971)
Increase (decrease) in other non-current liabilities 4,357 (199)
Net cash (used) in operating activities (41,348) (61,006)
Cash flows from investing activities:    
Purchases of property and equipment (165) (4,390)
Purchases of intangible assets (26)  
Proceeds from maturities of investments   63,750
Proceeds from sale of Chelsea facility, net 73,969  
Net cash provided by investing activities 73,778 59,360
Cash flows from financing activities:    
Repayment of Convertible Senior Notes Due 2021 (69,000)  
Debt issuance costs 0 (1,071)
Repayment of loans payable (655) (597)
Net cash (used) in financing activities (69,655) (1,668)
Effect of exchange rate changes on cash and cash equivalents and restricted cash (447) 1,018
Net (decrease) in cash and cash equivalents and restricted cash (37,672) (2,296)
Cash, cash equivalents and restricted cash at beginning of period 102,895 105,191
Cash, cash equivalents and restricted cash at end of period 65,223 102,895
Supplemental disclosure:    
Cash paid for interest 6 6,670
Cash paid for taxes $ 50 $ 251