XML 103 R88.htm IDEA: XBRL DOCUMENT v3.22.1
Segment and geographic information - Financial Information by Reportable Segment (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Segment Reporting Information [Line Items]      
Revenue $ 515,657 $ 429,899 $ 276,327
Segment cost of revenue 236,024 209,253 143,510
Gross profit 279,633 220,646 132,817
Reconciliation of segment gross profit to gross profit      
Amortization of capitalized software 9,300 6,900 4,900
Amortization of intangible assets 1,500    
Depreciation 4,500 4,200 3,800
Stock-based compensation 34,680 31,618 8,963
Gross profit 279,633 220,646 132,817
Operating Segments      
Segment Reporting Information [Line Items]      
Revenue 515,657 429,899 276,327
Segment cost of revenue 223,326 201,323 137,575
Gross profit 292,331 228,576 138,752
Reconciliation of segment gross profit to gross profit      
Gross profit 292,331 228,576 138,752
Segment Reconciling Items      
Segment Reporting Information [Line Items]      
Gross profit 12,698 7,930 5,935
Reconciliation of segment gross profit to gross profit      
Amortization of capitalized software 9,293 6,894 4,909
Amortization of intangible assets 1,022 0 0
Depreciation 760 618 727
Stock-based compensation 1,623 418 299
Gross profit 12,698 7,930 5,935
Consumer | Operating Segments      
Segment Reporting Information [Line Items]      
Revenue 328,703 326,454 225,500
Segment cost of revenue 159,342 165,804 118,669
Gross profit 169,361 160,650 106,831
Reconciliation of segment gross profit to gross profit      
Gross profit 169,361 160,650 106,831
Enterprise | Operating Segments      
Segment Reporting Information [Line Items]      
Revenue 186,954 103,445 50,827
Segment cost of revenue 63,984 35,519 18,906
Gross profit 122,970 67,926 31,921
Reconciliation of segment gross profit to gross profit      
Gross profit $ 122,970 $ 67,926 $ 31,921