v3.20.4

Stockholders' equity | 12 Months Ended
--- | ---
Dec. 31, 2020
Stockholders' equity |
Stockholders' equity | 15. Stockholders’ equity At December 31, 2020 and 2019, we are authorized to issue up to 100,000,000 shares of common stock. We are required to reserve and keep available out of our authorized but unissued shares of common stock such number of shares sufficient to effect the exercise of all outstanding common stock warrants, plus shares granted and available for grant under our Amended and Restated 2001 Stock Incentive Plan (the “2001 Plan”) and 2011 Equity Incentive Plan (the “2011 Plan”), as amended. The amount of such shares of common stock reserved for these purposes is as follows: ​
​ | ​ | ​ | ​ | ​
​ | ​ | December 31,
​ |  | 2020 |  | 2019
​ | ​ | (in thousands)
Outstanding stock options under the 2001 Plan | ​ | — | ​ | 7
Outstanding stock options under the 2011 Plan |  | 109 |  | 228
Outstanding RSUs under the 2011 Plan |  | 951 |  | 633
Shares available for grant under the 2011 Plan |  | 1,382 |  | 2,478
Total |  | 2,442 |  | 3,346
​ The Convertible Notes have an initial conversion rate of 23.6323 shares of common stock per $1 principal amount of the Convertible Notes, which will be subject to customary anti-dilution adjustments in certain circumstances. The number of shares that would be issuable assuming conversion of all of the Convertible Notes is approximately 4,756,000.

X
- References No definition available. + Details
Name: | us-gaap_StockholdersEquityNoteAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(e)(1)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -URI http://asc.fasb.org/topic&trid=2208762 + Details
Name: | us-gaap_StockholdersEquityNoteDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration