v3.26.1
Revenue - Schedule of Contract Assets and Deferred Revenue (Details) - USD ($)
$ in Thousands
Jun. 30, 2026
Dec. 31, 2025
Disaggregation of Revenue [Line Items]    
Total contract assets $ 12,423 $ 10,709
Deferred revenue - current 9,398 11,762
Total deferred revenue 12,613 14,402
Balance Sheet Location [Axis]: us-gaap:OtherAssetsNoncurrent    
Disaggregation of Revenue [Line Items]    
Contract assets - non-current 7,075 6,688
Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesNoncurrent    
Disaggregation of Revenue [Line Items]    
Deferred revenue - non-current 3,215 2,640
Balance Sheet Location [Axis]: us-gaap:PrepaidExpenseAndOtherAssetsCurrent    
Disaggregation of Revenue [Line Items]    
Contract assets - current 5,348 4,021
Balance Sheet Location [Axis]: mq:AccruedLiabilitiesAndOtherLiabilitiesCurrent    
Disaggregation of Revenue [Line Items]    
Deferred revenue - current $ 9,398 $ 11,762