XML 17 R6.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net loss $ (45,262) $ (86,166)
Adjustments to reconcile net loss to net cash used for operating activities:    
Non-cash royalty revenue related to sale of future royalties (5,036) (5,590)
Non-cash interest expense on liability related to sale of future royalties and convertible senior notes 1,793 2,327
Non-cash interest expense on amortization of debt discount and issuance costs 139  
Depreciation and amortization 875 931
Stock and deferred share unit compensation 14,500 9,380
Change in operating assets and liabilities:    
Accounts receivable (62,764) 3,558
Unbilled receivable (186) 471
Inventory (5,018)  
Contract asset   3,000
Prepaid and other current assets (3,084) (6,777)
Operating lease right-of-use assets 1,234 1,031
Other assets (289) (3,965)
Accounts payable (26,899) (1,249)
Accrued compensation (377) (509)
Other accrued liabilities (2,491) 12,643
Deferred revenue (5,605) (32,821)
Operating lease liability (1,990) (1,657)
Net cash used for operating activities (140,460) (105,393)
Cash flows from investing activities:    
Purchases of property and equipment (287) (514)
Net cash used for investing activities (287) (514)
Cash flows from financing activities:    
Proceeds from issuance of common stock under stock plans 14,945 1,031
Proceeds from term loan, net of $3,182 of issuance costs 71,818  
Proceeds from common stock issuance, net of $493 of transaction costs 350,833  
Net cash provided by financing activities 437,596 1,031
Net change in cash and cash equivalents 296,849 (104,876)
Cash and cash equivalents, beginning of period 275,138 478,750
Cash and cash equivalents, end of period 571,987 $ 373,874
Supplemental cash flow information:    
Cash paid during the year for interest 2,318  
Cash paid during the year for taxes $ 77