XML 42 R5.htm IDEA: XBRL DOCUMENT v3.20.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Net loss $ (182,814) $ (108,897) $ (101,252)
Depreciation and amortization 748 724 770
Loss (gain) on disposal of property and equipment     7
Stock-based compensation expense 14,794 17,719 9,396
Amortization of debt issuance costs 2,428 1,278 885
Amortization of premium/discount on investments 121 117 110
Change in fair value of foreign currency derivative 632 347 1,049
Receivables 13,903 (17,853) 1,824
Inventory (7,039) 1,649 (1,649)
Prepaid expenses and other assets (2,140) (1,364) (866)
Accounts payable and accrued expenses 17,355 11,741 4,487
Interest payable 6,766 3,056 (247)
Deferred revenue (1,970) 1,899 (7,079)
Net cash used in operating activities: (137,216) (89,584) (92,565)
Acquisition of property and equipment (514) (343) (366)
Purchases of investments (49,818) (3,018) (62,614)
Sales and maturities of investments 43,475 81,295 67,748
Realized gain on investments 1 0 0
Net cash provided by (used in) investing activities: (6,856) 77,934 4,768
Sale of common stock, net 93,279 58,500 53,400
Sale of pre-funded warrants 14,817 19,882  
Net proceeds from common stock issued under stock-based compensation plans 2,446 1,239 2,852
Proceeds from senior credit facility 0 19,477 10,353
Payment of senior credit facility (52,420)   (4,025)
Net proceeds from secured term loan 119,867    
Net proceeds from royalty financing obligation 124,708    
(Decrease) increase in lease financing obligation     (76)
Net cash provided by financing activities: 302,697 99,098 62,504
Increase (decrease) in cash, cash equivalents and restricted cash 158,625 87,448 (25,293)
Cash, cash equivalents and restricted cash at beginning of year 115,723 28,275 53,568
Cash, cash equivalents and restricted cash at end of year $ 274,348 $ 115,723 $ 28,275