Stockholders' Equity (Deficit)
12 Months Ended
Dec. 31, 2021
Equity [Abstract]  
Stockholders' Equity (Deficit) Stockholders' Equity (Deficit)
Warrants

In April and June 2020, pursuant to the Baker Bros. Purchase Agreement, as discussed in Note 5- Convertible Notes, the Company issued warrants to purchase up to 5,122,950 shares of common stock in a private placement at an exercise price of $2.44 per share. In May 2021, pursuant to the May 2021 Public Offering as defined below, the Company issued warrants to purchase up to 57,500,000 shares of common stock at an exercise price of $1.00 per share, of which warrants to purchase 159,000 shares of common stock were exercised in 2021.

As of December 31, 2021, warrants to purchase up to 67,767,107 shares of the Company's common stock remain outstanding at a weighted average exercise price of $1.54 per share. These warrants are summarized below:

Type of WarrantsUnderlying Common Stock to be PurchasedExercise PriceIssue DateExercise Period
Common Warrants878 $51.24 March 30, 2012March 30, 2012 to March 30, 2022
Common Warrants1,171 $51.24 August 17, 2012August 17, 2012 to July 17, 2022
Common Warrants7,806 $3.69 June 11, 2014June 11, 2014 to June 11, 2024
Common Warrants848,674 $7.50 May 24, 2018May 24, 2018 to May 24 2025
Common Warrants182 $7.50 June 26, 2018June 26, 2018 to June 26, 2025
Common Warrants1,666,667 $6.38 April 11, 2019October 11, 2019 to April 11, 2026
Common Warrants2,777,779 $6.38 June 10, 2019December 10, 2019 to June 10, 2026
Common Warrants3,073,770 $2.44 April 24, 2020April 24, 2020 to April 24, 2025
Common Warrants2,049,180 $2.44 June 9, 2020June 9, 2020 to June 9, 2025
Common Warrants57,341,000 $1.00 May 20, 2021May 20, 2021 to May 22, 2023
Total67,767,107 

Convertible Preferred Stock

On October 12, 2021, the Company completed the initial closing of a registered direct offering with Keystone Capital Partners (Keystone Capital) (the Initial October 2021 Registered Direct Offering), whereby the Company issued 5,000 shares of Series B-1 Convertible Preferred Stock, par value $0.0001 per share, at a price of $1,000.00 per share. The Company received proceeds from the Initial October 2021 Registered Direct Offering of approximately $4.6 million, net of offering expenses. On October 26, 2021, the Company completed the additional closing of the October 2021 Registered Direct Offering (the Additional October 2021 Registered Direct Offering), whereby the Company issued 5,000 shares of Series B-2 Convertible Preferred Stock, par value $0.0001 per share, at a price of $1,000.00 per share. The Company received proceeds from the Additional October 2021 Registered Direct Offering of approximately $5.0 million, net of offering expenses.

The Series B-1 and B-2 Convertible Preferred Stock are convertible into shares of common stock at any time at a conversion price per share of the greater of $0.60 (Fixed Conversion Price), or the price computed as the product of 0.85 multiplied by the arithmetic average of the closing sale prices of a share of the Company's common stock during the five
consecutive trading-day period immediately preceding the conversion date (Variable Conversion Price). On October 12, 2021, Keystone Capital converted their 5,000 shares of B-1 Convertible Preferred Stock at a conversion price of $0.63 per share into 7,936,508 shares of the Company's common stock. Effective January 13, 2022, pursuant to the terms of the Series B-2 Convertible Preferred Stock, the Fixed Conversion Price was reduced to $0.392 as a result of the registered direct offering of unsecured notes, as described in Note 14- Subsequent Events. The Fixed Conversion Price of the Convertible Preferred Stock is subject to continued adjustment until April 25, 2022.

The Company evaluated its convertible preferred stock to determine if an embedded component qualified as a derivative requiring bifurcation in accordance with ASC 815 Derivative and Hedging. The Company determined that the embedded conversion feature required bifurcation and needed to be accounted for separately as a free standing financial instrument. As a result, the fair value of the conversion feature is marked-to-market at each reporting date and is recorded on the consolidated balance sheet as a derivative liability. Changes in fair value are recognized on the consolidated income statement.

The Company also evaluated its convertible preferred stock and determined that it required mezzanine equity classification. The proceeds from the offering were first allocated to the fair value of the derivative liability and the remaining balance to the convertible preferred stock. The creation of the derivative liability resulted in a discount to the convertible preferred stock, at an amount equal to the fair value of the derivative liability at issuance. The discount is accreted through a deemed dividend which is recorded on the consolidated income statement. The entire discount to the Series B-1 Convertible Preferred Stock was accreted through a single deemed dividend when it was converted into common stock immediately after the initial closing. The Company elected to accrete the discount to the Series B-2 Convertible Preferred Stock over the four-year period from the issuance date to the date when the preferred stock becomes redeemable, and such accretion was immaterial for the year ended December 31, 2021. A deemed dividend for return of capital was also recorded as a result of the Series B-1 Convertible Preferred Stock conversion into common stock.

Under the valuation methods as described in Note 7- Fair Value Financial Instruments, the Company recorded the following in the consolidated financial statements related to the convertible preferred stock issued in 2021: (i) an aggregate $9.6 million in convertible preferred stock, net of offering expenses, at issuance; (ii) an aggregate $0.5 million discount to the convertible preferred stock at issuance; (iii) an aggregate $0.5 million in derivative liabilities at issuance; (iv) a $0.8 million deemed dividend for return of capital as a result of the Series B-1 Convertible Preferred Stock conversion into common stock; (v) a $0.3 million deemed dividend for the accretion of the discount to the Series B-1 Convertible Preferred Stock upon conversion into common stock; and (vi) a $0.1 million gain in fair value of financial instruments as a result of the mark-to-market adjustment of the derivative liability at 12/31/2021.

Effective December 15, 2021, the Company amended and restated its certificate of incorporation, under which the Company is currently authorized to issue up to 5,000,000 shares of preferred stock, $0.0001 par value per share.

Common Stock

Effective January 17, 2018, the Company amended and restated its certificate of incorporation, under which the Company was authorized to issue up to 300,000,000 shares of common stock, $0.0001 par value per share. Effective December 15, 2021, the Company further amended its amended and restated certificate of incorporation to increase the number of authorized shares of common stock to 500,000,000 shares.

Public Offerings

On June 5, 2020, the Company completed an underwritten public offering (the 2020 Public Offering), whereby the Company issued 28,500,000 shares of common stock at a price to the public of $3.50 per share (the 2020 Public Offering Price). The Company received proceeds from the 2020 Public Offering of $93.2 million, net of underwriting discounts. In addition, the Company granted the underwriters a 30-day option to purchase up to an additional 4,275,000 shares of its common stock at the Public Offering Price, less applicable underwriting discounts. On June 10, 2020, the Company issued an additional 3,200,000 shares of common stock upon exercise of the underwriters’ option and received $10.5 million in proceeds from this exercise, net of underwriting discounts. The common stock issued in the 2020 Public Offering were registered pursuant to a shelf registration statement on Form S-3 filed with the SEC on November 18, 2019 and declared effective on December 2, 2019.

On March 29, 2021, the Company completed an underwritten public offering (the March 2021 Public Offering), whereby the Company issued 17,142,857 shares of common stock at a price to the public of $1.75 per share (the March 2021 Public Offering Price). The Company received proceeds from the March 2021 Public Offering of approximately $28.0 million, net of underwriting discounts. In addition, the Company granted the underwriters a 30 days overallotment option to purchase up
to an additional 2,571,428 shares of its common stock at the March 2021 Public Offering Price, less applicable underwriting discounts. On April 6, 2021, the underwriters exercised their overallotment option in full and the Company received proceeds of approximately $4.2 million, net of underwriting discounts. The common stock issued in the March 2021 Public Offering were registered pursuant to a shelf registration statement on Form S-3 filed with the SEC on March 4, 2021 and declared effective on March 11, 2021.

On May 20, 2021, the Company completed an underwritten public offering (the May 2021 Public Offering), whereby the Company issued 50,000,000 shares of common stock at a price to the public of $1.00 per share and accompanying common warrants to purchase 50,000,000 shares of common stock. The common warrants have an exercise price of $1.00 per share and can be exercised any time through May 22, 2023. The Company received proceeds from the May 2021 Public Offering of approximately $46.8 million, net of underwriting discounts and fees. In addition, the Company granted the underwriters a 30-day overallotment option to purchase up to an additional 7,500,000 shares of its common stock at $0.99 per share, less applicable underwriting discounts, and/or common warrants to purchase 7,500,000 shares of common stock, at $0.01 per warrant, less applicable underwriting discounts. On May 20, 2021, the underwriters exercised their overallotment option to purchase warrants in full and the Company received proceeds of approximately $0.1 million, net of underwriting discounts. On May 24, 2021, the underwriters exercised their overallotment option to purchase common stock and the Company issued an additional 2,547,794 shares of common stock and received proceeds of approximately $2.4 million, net of underwriting discounts. The common stock issued in the May 2021 Public Offering were registered pursuant to a shelf registration statement on Form S-3 filed with the SEC on March 4, 2021 and declared effective on March 11, 2021.

ATM Program

In November 2019, the Company entered into an Equity Distribution Agreement (the Equity Distribution Agreement) with Piper Sandler & Co. (Piper Sandler), which provided the Company the ability to offer and sell, from time to time, shares of its common stock in ATM offerings (as defined in Rule 415 of the Securities Act of 1933, as amended) having an aggregate offering price up to $50 million through Piper Sandler acting as sales agent. On June 2, 2020, in connection with the aforementioned 2020 Public Offering, the Equity Distribution Agreement was terminated. During the year ended December 31, 2020, the Company received proceeds of approximately $3.8 million in cash and cash equivalents, net of commissions, from the sale of 676,656 shares of its common stock.

Common Stock Reserved for Future Issuance
Common stock reserved for future issuance is as follows in common equivalent shares as of December 31, 2021: 
Common stock issuable upon the exercise of stock options outstanding10,625,062 
Common stock issuable upon the exercise of common stock warrants67,767,107 
Common stock available for future issuance under the 2019 ESPP1,833,085 
Common stock available for future issuance under the Amended and Restated 2014 Plan2,701,757 
Common stock available for future issuance under the Amended Inducement Plan794,737 
Total common stock reserved for future issuance83,721,748