XML 39 R25.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Summary of Significant Accounting Policies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Summary of Significant Accounting Policies |
Schedule of cash and cash equivalents and restricted cash | The following table provides a reconciliation of cash and cash equivalents and restricted cash reported within the consolidated balance sheets that equate to the amount reported in the consolidated statement of cash flows as of December 31, 2021, December 31, 2020 and December 31, 2019 (in thousands):
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | Year ended
​ | ​ | ​ | December 31,
​ | ​ | ​ | 2021 | ​ | ​ | 2020 | ​ | ​ | 2019 | ​
Cash and cash equivalents | ​ | $ | 100,708 | ​ | $ | 96,596 | ​ | $ | 62,430 | ​
Restricted cash | ​ | ​ | 9,416 | ​ | ​ | 9,566 | ​ | ​ | 9,326 | ​
Cash, cash equivalents and restricted cash in the consolidated statement of cash flows | ​ | $ | 110,124 | ​ | $ | 106,162 | ​ | $ | 71,756 | ​
​
Schedule of the Company's net income (loss) per share | The Company’s computation of net (loss) income per share is as follows (in thousands, except per share amounts):
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | As of | ​
​ | ​ | ​ | ​ | ​ | December 31, | ​
​ | ​ | ​ | 2021 | ​ | ​ | 2020 | ​ | ​ | 2019 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Numerator: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Net income (loss) - basic | ​ | $ | (49,593) | ​ | $ | (120,348) | ​ | $ | 15,424 | ​
Denominator: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted average number of common shares outstanding - basic | ​ | ​ | 46,423 | ​ | ​ | 44,497 | ​ | ​ | 37,355 | ​
Common stock equivalents from outstanding common stock options | ​ | ​ | - | ​ | ​ | - | ​ | ​ | 3,495 | ​
Common stock equivalents for ESPP | ​ | ​ | - | ​ | ​ | - | ​ | ​ | 25 | ​
Common stock equivalents from unvested restricted stock units | ​ | ​ | - | ​ | ​ | - | ​ | ​ | 270 | ​
Weighted average number of common shares outstanding - diluted | ​ | ​ | 46,423 | ​ | ​ | 44,497 | ​ | ​ | 41,145 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Basic net (loss) income per share | ​ | $ | (1.07) | ​ | $ | (2.70) | ​ | $ | 0.41 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Diluted net (loss) income per share | ​ | $ | (1.07) | ​ | $ | (2.70) | ​ | $ | 0.37 | ​
Schedule of potentially dilutive securities not included in the calculation of diluted net loss per share attributable to common stockholders | Potentially dilutive securities not included in the calculation of diluted net (loss) income per share because to do so would be anti-dilutive were as follows (weighted outstanding common stock equivalent shares, in thousands):
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | As of |
​ | ​ | ​ | December 31, |
​ | ​ | ​ | 2021 | ​ | ​ | 2020 | ​ | ​ | 2019 |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Convertible senior notes | ​ | ​ | 5,125 | ​ | ​ | — | ​ | ​ | — | ​
Stock options outstanding |  | ​ | 2,951 |  | ​ | 4,399 |  | ​ | 3,616 | ​
Unvested restricted stock units | ​ | ​ | 740 | ​ | ​ | 526 | ​ | ​ | 365 | ​
Employee stock purchase plan | ​ | ​ | 11 |  | ​ | 15 |  | ​ | 26 | ​
​ | ​ | ​ | 8,827 |  | ​ | 4,940 |  | ​ | 4,007 | ​

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

X
- Definition Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the components of cash and cash equivalents. + References No definition available. + Details
Name: | us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration