v3.19.3

CUSTOMER FUNDS - Assets Underlying Customer Funds (Details) - USD ($) $ in Thousands | Sep. 30, 2019 | Dec. 31, 2018
--- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |
Customer funds | $ 660,599 | $ 334,017
U.S. agency securities |  |
Debt Securities, Available-for-sale [Line Items] |  |
Customer funds | 1,654 | 27,291
U.S. government securities |  |
Debt Securities, Available-for-sale [Line Items] |  |
Customer funds | 222,172 | 72,671
Cash |  |
Debt Securities, Available-for-sale [Line Items] |  |
Customer funds | 407,719 | 158,697
Cash Equivalents | Money market funds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Customer funds | 388 | 18
Cash Equivalents | U.S. agency securities |  |
Debt Securities, Available-for-sale [Line Items] |  |
Customer funds | 21,667 | 39,991
Cash Equivalents | U.S. government securities |  |
Debt Securities, Available-for-sale [Line Items] |  |
Customer funds | $ 6,999 | $ 35,349

X
- Definition Carrying amount as of the balance sheet date of amounts received from and refundable to customers unless used by them to obtain goods and services from the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CustomerFunds
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_CashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_CashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |