XML 50 R34.htm IDEA: XBRL DOCUMENT
v3.22.0.1

INVESTMENTS (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
INVESTMENTS |
Summary of investments in available-for-sale | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Continuous | ​ | Continuous
​ | ​ | ​ | ​ | ​ | Gross | ​ | Gross | ​ | ​ | ​ | ​ | Unrealized | ​ | Unrealized
​ | ​ | ​ | ​ | ​ | Unrealized | ​ | Unrealized | ​ | ​ | ​ | ​ | Loss Position | ​ | Loss Position
​ | ​ | Amortized | ​ | Holding | ​ | Holding | ​ | Fair | ​ | less than 12 | ​ | greater than 12
December 31, 2021 |  | Cost |  | Gains |  | Losses |  | Value |  | Months |  | Months
Available-for-sale | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Short-term: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial paper | ​ | $ | 334,077 | ​ | $ | — | ​ | $ | — | ​ | $ | 334,077 | ​ | $ | — | ​ | $ | —
Certificates of deposit | ​ | ​ | 44,502 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 44,502 | ​ | ​ | — | ​ | ​ | —
Municipal securities | ​ |  | 666 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 666 | ​ | ​ | — | ​ | ​ | —
U.S. government agency securities | ​ |  | 62,687 | ​ |  | — | ​ |  | 26 | ​ |  | 62,661 | ​ |  | 26 | ​ |  | —
U.S. treasuries | ​ | ​ | 1,308,536 | ​ |  | 2 | ​ |  | 717 | ​ |  | 1,307,821 | ​ |  | 717 | ​ |  | —
Long-term: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government agency securities | ​ | ​ | 12,500 | ​ | ​ | — | ​ | ​ | 24 | ​ | ​ | 12,476 | ​ | ​ | 24 | ​ | ​ | —
U.S. treasuries | ​ | ​ | 87,133 | ​ | ​ | — | ​ | ​ | 190 | ​ | ​ | 86,943 | ​ | ​ | 190 | ​ | ​ | —
Total | ​ | $ | 1,850,101 | ​ | $ | 2 | ​ | $ | 957 | ​ | $ | 1,849,146 | ​ | $ | 957 | ​ | $ | —
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Continuous | ​ | Continuous
​ | ​ | ​ | ​ | ​ | Gross | ​ | Gross | ​ | ​ | ​ | ​ | Unrealized | ​ | Unrealized
​ | ​ | ​ | ​ | ​ | Unrealized | ​ | Unrealized | ​ | ​ | ​ | ​ | Loss Position | ​ | Loss Position
​ | ​ | Amortized | ​ | Holding | ​ | Holding | ​ | Fair | ​ | less than 12 | ​ | greater than 12
December 31, 2020 |  | Cost |  | Gains |  | Losses |  | Value |  | Months |  | Months
Available-for-sale | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Short-term: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial paper | ​ | $ | 119,886 | ​ | $ | — | ​ | $ | — | ​ | $ | 119,886 | ​ | $ | — | ​ | $ | —
Certificates of deposit | ​ | ​ | 20,387 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 20,387 | ​ | ​ | — | ​ | ​ | —
Municipal securities | ​ |  | 9,083 | ​ |  | — | ​ |  | — | ​ |  | 9,083 | ​ |  | — | ​ |  | —
U.S. government agency securities | ​ |  | 81,521 | ​ |  | 13 | ​ |  | 3 | ​ |  | 81,531 | ​ |  | 3 | ​ |  | —
U.S. treasuries | ​ | ​ | 650,386 | ​ | ​ | 150 | ​ | ​ | 69 | ​ | ​ | 650,467 | ​ | ​ | 69 | ​ | ​ | —
Long-term: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government agency securities | ​ | ​ | 10,350 | ​ | ​ | 1 | ​ | ​ | — | ​ | ​ | 10,351 | ​ | ​ | — | ​ | ​ | —
U.S. treasuries | ​ | ​ | 33,946 | ​ | ​ | 1 | ​ | ​ | 7 | ​ | ​ | 33,940 | ​ | ​ | 7 | ​ | ​ | —
Total | ​ | $ | 925,559 | ​ | $ | 165 | ​ | $ | 79 | ​ | $ | 925,645 | ​ | $ | 79 | ​ | $ | —
Summary of the underlying contractual maturities of investments | The following table summarizes the underlying contractual maturities of the Company’s investments at:
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2021 | ​ | December 31, 2020
​ |  | Amortized Cost |  | Fair Value |  | Amortized Cost |  | Fair Value
Less than 1 year: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial paper | ​ | $ | 334,077 | ​ | $ | 334,077 |  | $ | 119,886 | ​ | $ | 119,886
Municipal securities | ​ |  | 666 | ​ |  | 666 |  |  | 9,083 | ​ |  | 9,083
U.S. government agency securities | ​ |  | 62,687 | ​ |  | 62,661 |  |  | 81,521 | ​ |  | 81,531
Certificates of deposit | ​ |  | 44,502 | ​ |  | 44,502 |  |  | 20,387 | ​ |  | 20,387
U.S. treasuries | ​ | ​ | 1,308,536 | ​ | ​ | 1,307,821 | ​ | ​ | 650,386 | ​ | ​ | 650,467
Due 1 - 10 years: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. treasuries | ​ | ​ | 87,133 | ​ | ​ | 86,943 | ​ | ​ | 33,946 | ​ | ​ | 33,940
U.S. government agency securities | ​ |  | 12,500 | ​ |  | 12,476 |  |  | 10,350 | ​ |  | 10,351
Total | ​ | $ | 1,850,101 | ​ | $ | 1,849,146 |  | $ | 925,559 | ​ | $ | 925,645

X
- Definition Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments. + References No definition available. + Details
Name: | us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of unrealized gains and losses on investments. + References No definition available. + Details
Name: | us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration