Table:
| December 31, |  |  |
| --- | --- | --- |
|  | 2019 | 2018 |
| Accounts receivable | $80,032 | $52,850 |
| Allowance for doubtful accounts | (2,584) | (1,425) |
| Allowance for product returns | (1,075) | (1,915) |
| Accounts receivable, net | $76,373 | $49,510 |
Paragraphs:
Note 4. Accounts Receivable, Net
The components of accounts receivable, net are as follows (in thousands):
For the years ended December 31, 2019, 2018 and 2017, we recorded a provision for doubtful accounts of $1.2 million, $0.1 million and $0.5 million, respectively.
For the year ended December 31, 2019, we recorded a reduction to the reserve for product returns of $0.1 million. For the years ended December 31, 2018 and 2017, we recorded a $0.3 million and $2.1 million reserve for product returns in our hardware and other revenue, respectively. Historically, we have not experienced write-offs for uncollectible accounts or sales returns that have differed significantly from our estimates.
Question:
How much was the provision for doubtful accounts in 2019?
Answer: $1.2 million