XML 102 R87.htm IDEA: XBRL DOCUMENT v3.22.1
Segment and geographic information - Narrative (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2021
USD ($)
segment
Dec. 31, 2020
USD ($)
segment
Dec. 31, 2019
USD ($)
segment
Segment Reporting [Abstract]      
Number of operating segments | segment 2 2 2
Number of reportable segments | segment 2 2 2
Segment Reporting Information [Line Items]      
Segment cost of revenue $ 236,024 $ 209,253 $ 143,510
Gross profit 279,633 220,646 132,817
Operating Segments      
Segment Reporting Information [Line Items]      
Segment cost of revenue 223,326 201,323 137,575
Gross profit 292,331 228,576 138,752
Operating Segments | Consumer      
Segment Reporting Information [Line Items]      
Segment cost of revenue 159,342 165,804 118,669
Gross profit 169,361 160,650 106,831
Operating Segments | Enterprise      
Segment Reporting Information [Line Items]      
Segment cost of revenue 63,984 35,519 18,906
Gross profit $ 122,970 67,926 31,921
Operating Segments | Revision of Prior Period, Error Correction, Adjustment | Consumer      
Segment Reporting Information [Line Items]      
Segment cost of revenue   (6,700) (4,100)
Gross profit   6,700 4,100
Operating Segments | Revision of Prior Period, Error Correction, Adjustment | Enterprise      
Segment Reporting Information [Line Items]      
Segment cost of revenue   6,700 4,100
Gross profit   $ (6,700) $ (4,100)